Commit graph

12 commits

Author SHA1 Message Date
gpt-engineer-app[bot]
f72073358b Fix parity-magic copy link 2025-08-24 04:39:56 +00:00
gpt-engineer-app[bot]
3cd75771fb Fix bottom-right corner 2025-08-23 05:03:01 +00:00
gpt-engineer-app[bot]
26e872f7e7 Adjust column label alignment
Center align column labels with respect to their respective columns.
2025-08-22 17:50:11 +00:00
gpt-engineer-app[bot]
47bf4eb49b Fix font color
Change font color to white for the "Flipped bit at position" text.
2025-08-22 17:47:12 +00:00
gpt-engineer-app[bot]
4b5586ec82 Fix column label alignment
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
2025-08-22 17:44:57 +00:00
gpt-engineer-app[bot]
02714359af Fix parity counts and spacing
Updated parity counts to include parity bits. Fixed column spacing and displayed counts on the last row and column. Set default grid size to 5x5.
2025-08-22 17:41:41 +00:00
gpt-engineer-app[bot]
de640b5029 Fix parity bits highlighting and labels
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.
2025-08-22 17:39:03 +00:00
gpt-engineer-app[bot]
5c407b8b7f Refactor parity bits game
- 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.
2025-08-22 17:36:53 +00:00
gpt-engineer-app[bot]
6813e73b97 Refine parity bits interactive
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.
2025-08-22 17:33:19 +00:00
gpt-engineer-app[bot]
0bb5653759 Refine parity bits identification
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".
2025-08-22 17:30:30 +00:00
gpt-engineer-app[bot]
352b2342ed Fix parity bits calculation
The parity bits are now correctly calculated and displayed, reflecting the parity of their respective rows and columns.
2025-08-22 17:26:29 +00:00
gpt-engineer-app[bot]
db72f6c63c 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.
2025-08-22 17:23:36 +00:00