Make Northcott's Game standalone

Give Northcott's Game a unique ID and make it accessible as a standalone interactive.
This commit is contained in:
gpt-engineer-app[bot] 2025-07-21 07:09:10 +00:00
parent 92026405a1
commit cd588e391a
3 changed files with 23 additions and 0 deletions

View file

@ -6,6 +6,7 @@ import { Search } from 'lucide-react';
import Layout from '@/components/Layout';
import BinarySearchTrick from '@/components/BinarySearchTrick';
import TernarySearchTrick from '@/components/TernarySearchTrick';
import NorthcottsGame from '@/components/NorthcottsGame';
interface Interactive {
id: string;
@ -29,6 +30,13 @@ const interactives: Interactive[] = [
description: 'Experience the magic of ternary search! Think of a number and watch as the cards reveal it through mathematical calculations.',
tags: ['ternary', 'magic', 'numbers', 'trick', 'data-structures', 'search'],
component: TernarySearchTrick
},
{
id: 'northcotts-game',
title: "Northcott's Game",
description: 'A two-player strategy game where players move their pieces along rows trying to block each other. Features multiple game modes and customizable board sizes.',
tags: ['game', 'strategy', 'two-player', 'logic', 'combinatorial-game-theory'],
component: NorthcottsGame
}
];
const InteractiveGallery = () => {