Add Assisted Nim Game and update components

This commit is contained in:
Neeldhara Misra 2025-07-22 03:35:33 +05:30
parent 3705152d34
commit 6af3ec81ef
6 changed files with 435 additions and 0 deletions

View file

@ -7,6 +7,7 @@ import Layout from '@/components/Layout';
import GameOfSim from '@/components/GameOfSim';
import NorthcottsGame from '@/components/NorthcottsGame';
import NimGame from '@/components/NimGame';
import AssistedNimGame from '@/components/AssistedNimGame';
interface Game {
id: string;
@ -17,6 +18,13 @@ interface Game {
}
const games: Game[] = [
{
id: 'assisted-nim',
title: 'Assisted Game of Nim',
description: 'Learn the XOR strategy! Visualize how powers of 2 determine winning moves with color-coded borders.',
tags: ['strategy', 'two-player', 'math', 'logic', 'game-theory', 'xor-strategy', 'educational'],
component: AssistedNimGame
},
{
id: 'nim',
title: 'Game of Nim',