Add Subtraction Game interactive
Implement "The Subtraction Game" interactive with sliders for n and k, a play/reset button, turn-based gameplay between two players, and visual feedback including confetti for the winner.
This commit is contained in:
parent
4be4ab3ef5
commit
1ff24d145c
6 changed files with 237 additions and 0 deletions
|
|
@ -52,6 +52,7 @@ import NQueensPuzzlePage from './pages/NQueensPuzzlePage';
|
|||
import RulesOfInferencePlaygroundPage from './pages/RulesOfInferencePlaygroundPage';
|
||||
import PebblePlacementGamePage from './pages/PebblePlacementGamePage';
|
||||
import BulgarianSolitairePage from './pages/BulgarianSolitairePage';
|
||||
import SubtractionGamePage from './pages/SubtractionGamePage';
|
||||
|
||||
const queryClient = new QueryClient();
|
||||
|
||||
|
|
@ -107,6 +108,7 @@ const App = () => (
|
|||
<Route path="/games/gold-coin" element={<GoldCoinGamePage />} />
|
||||
<Route path="/puzzles/pebble-placement" element={<PebblePlacementGamePage />} />
|
||||
<Route path="/puzzles/bulgarian-solitaire" element={<BulgarianSolitairePage />} />
|
||||
<Route path="/subtraction-game" element={<SubtractionGamePage />} />
|
||||
<Route path="/puzzles/sikinia-parliament" element={<SikiniaParliamentPuzzlePage />} />
|
||||
<Route path="/puzzles/plate-swap" element={<PlateSwapPuzzlePage />} />
|
||||
<Route path="/puzzles/chessboard-repaint" element={<ChessboardRepaintPuzzlePage />} />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue