Add parity bit interactive

Implement a new interactive game based on parity bits. The game features an n x n grid of toggleable squares, where 'n' is adjustable via a slider (2-10). Users can set the grid, add parity bits to an extra row and column, flip a bit, and then identify the flipped bit by highlighting the corresponding row and column.
This commit is contained in:
gpt-engineer-app[bot] 2025-08-22 17:23:36 +00:00
parent 5adaa9e1a3
commit db72f6c63c
3 changed files with 288 additions and 0 deletions

View file

@ -54,6 +54,7 @@ import PebblePlacementGamePage from './pages/PebblePlacementGamePage';
import BulgarianSolitairePage from './pages/BulgarianSolitairePage';
import SubtractionGamePage from './pages/SubtractionGamePage';
import StackingBlocksPage from './pages/StackingBlocksPage';
import ParityBitsGamePage from './pages/ParityBitsGamePage';
const queryClient = new QueryClient();
@ -88,6 +89,7 @@ const App = () => (
<Route path="/themes/cards-math" element={<CardsMath />} />
<Route path="/themes/puzzles" element={<Puzzles />} />
<Route path="/themes/puzzles/stacking-blocks" element={<StackingBlocksPage />} />
<Route path="/parity-bits" element={<ParityBitsGamePage />} />
<Route path="/themes/miscellany" element={<Miscellany />} />
<Route path="/themes/contest-problems" element={<ContestProblems />} />
<Route path="/contest-problems/grid-tiling" element={<GridTilingPuzzlePage />} />