Add The Gold Coin Game - a strategic two-player game where players move coins to acquire the gold coin

This commit is contained in:
Neeldhara Misra 2025-07-22 03:44:16 +05:30
parent 6af3ec81ef
commit 4f27765251
5 changed files with 399 additions and 0 deletions

View file

@ -8,6 +8,7 @@ import GameOfSim from '@/components/GameOfSim';
import NorthcottsGame from '@/components/NorthcottsGame';
import NimGame from '@/components/NimGame';
import AssistedNimGame from '@/components/AssistedNimGame';
import GoldCoinGame from '@/components/GoldCoinGame';
interface Game {
id: string;
@ -18,6 +19,13 @@ interface Game {
}
const games: Game[] = [
{
id: 'gold-coin',
title: 'The Gold Coin Game',
description: 'A strategic two-player game where you move coins to the left or take the leftmost coin. The player who takes the gold coin wins!',
tags: ['strategy', 'two-player', 'logic', 'game-theory', 'movement', 'coins'],
component: GoldCoinGame
},
{
id: 'assisted-nim',
title: 'Assisted Game of Nim',