Add Guessing Game
Implement a guessing game with user-selectable range via slider. Includes two modes: user guesses computer's number, and computer guesses user's number using random, linear, or binary search strategies.
This commit is contained in:
parent
aaa3b7f06f
commit
a981f2ec87
4 changed files with 559 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ import NorthcottsGame from '@/components/NorthcottsGame';
|
|||
import NimGame from '@/components/NimGame';
|
||||
import AssistedNimGame from '@/components/AssistedNimGame';
|
||||
import GoldCoinGame from '@/components/GoldCoinGame';
|
||||
import GuessingGame from '@/components/GuessingGame';
|
||||
|
||||
interface Game {
|
||||
id: string;
|
||||
|
|
@ -19,6 +20,13 @@ interface Game {
|
|||
}
|
||||
|
||||
const games: Game[] = [
|
||||
{
|
||||
id: 'guessing-game',
|
||||
title: 'Number Guessing Game',
|
||||
description: 'Experience different search algorithms through interactive gameplay. Compare random, linear, and binary search strategies!',
|
||||
tags: ['algorithms', 'search', 'educational', 'interactive', 'binary-search', 'computer-science'],
|
||||
component: GuessingGame
|
||||
},
|
||||
{
|
||||
id: 'gold-coin',
|
||||
title: 'The Gold Coin Game',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue