Add Assisted Nim Game and update components
This commit is contained in:
parent
3705152d34
commit
6af3ec81ef
6 changed files with 435 additions and 0 deletions
12
src/pages/AssistedNimGamePage.tsx
Normal file
12
src/pages/AssistedNimGamePage.tsx
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import React from 'react';
|
||||
import AssistedNimGame from '@/components/AssistedNimGame';
|
||||
|
||||
const AssistedNimGamePage = () => {
|
||||
return (
|
||||
<div className="container mx-auto px-4 py-8">
|
||||
<AssistedNimGame />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default AssistedNimGamePage;
|
||||
|
|
@ -69,6 +69,13 @@ const allInteractives = [{
|
|||
tags: ['strategy', 'two-player', 'math', 'logic'],
|
||||
path: '/games/nim',
|
||||
theme: 'Games'
|
||||
}, {
|
||||
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', 'xor-strategy', 'educational'],
|
||||
path: '/games/assisted-nim',
|
||||
theme: 'Games'
|
||||
}];
|
||||
|
||||
// Featured interactives (3 fixed ones)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue