Fix Nim game heap alignment and jumpiness; improve UX

This commit is contained in:
Neeldhara Misra 2025-07-22 01:55:26 +05:30
parent 86183cf856
commit bfa6e66450
2 changed files with 267 additions and 0 deletions

View file

@ -6,6 +6,7 @@ import { Search } from 'lucide-react';
import Layout from '@/components/Layout';
import GameOfSim from '@/components/GameOfSim';
import NorthcottsGame from '@/components/NorthcottsGame';
import NimGame from '@/components/NimGame';
interface Game {
id: string;
@ -16,6 +17,13 @@ interface Game {
}
const games: Game[] = [
{
id: 'nim',
title: 'Game of Nim',
description: 'A classic two-player game of strategy. Take turns removing stones from heaps. The player to take the last stone wins!',
tags: ['strategy', 'two-player', 'math', 'logic', 'game-theory'],
component: NimGame
},
{
id: 'game-of-sim',
title: 'Game of Sim',