Fix Nim game heap alignment and jumpiness; improve UX
This commit is contained in:
parent
86183cf856
commit
bfa6e66450
2 changed files with 267 additions and 0 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue