Created a new interactive puzzle that explores probability and search strategies:
- Alice opens boxes in sequential order (1, 2, 3, ...)
- Bob opens odds first, then evens (1, 3, 5, ..., 2, 4, 6, ...)
- 26 presents randomly distributed in 100 boxes
- Interactive visualization with two 10×10 grids
- Single simulation with animated opening process
- Batch simulation of 100 rounds to analyze win rates
- Added to Uncertainty theme page (first interactive in this category)
Adjusted column labels for better alignment. Added the parity-magic interactive under the Games section with a working share component and copy link functionality.
-edited src/App.tsx
-edited src/components/ParityBitsGame.tsx
Updated parity bits game to make labels persistent after animation. Highlights now use yellow for white cells and orange for black cells, including the last row and column. Also fixed spacing issues with column labels.
- Changed parity indicators to display the count of black cells instead of "odd" or "even".
- Made yellow highlights translucent to allow visibility of underlying black cells.
- Added a "Random Start" option to initialize the grid with a random subset of black cells.
Update parity bits interactive to allow flipping any bit, include parity bits in highlights, display odd/even text alongside highlights, and remove red border from flipped bits.
Update parity bits interactive to highlight flipped bit location in green, display row/column parity ("odd" in red), and briefly highlight all black cells upon clicking "Identify Flip".
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.
Add a unique identifier (UID) to the game and integrate the share component at the bottom of the page. Ensure that the copy link and QR code functionalities within the share component are operational.