Commit graph

306 commits

Author SHA1 Message Date
gpt-engineer-app[bot]
b607bfa385 Remove header and footer 2025-09-05 06:25:23 +00:00
gpt-engineer-app[bot]
31c019ff31 Add craps game to index listing 2025-09-05 06:24:24 +00:00
gpt-engineer-app[bot]
0485afd776 Refactor standalone page 2025-09-05 06:22:59 +00:00
gpt-engineer-app[bot]
647963600f Disable "Roll Dice" on win/loss 2025-09-05 06:20:31 +00:00
gpt-engineer-app[bot]
461decff78 Update interactives listing and share link 2025-09-05 06:18:30 +00:00
gpt-engineer-app[bot]
975808f831 Add descriptive paragraph to Craps game 2025-09-05 06:16:45 +00:00
gpt-engineer-app[bot]
095c7ccbf7 Visual edit in Lovable 2025-09-05 06:15:52 +00:00
gpt-engineer-app[bot]
e9d524df70 Refactor: Rename Craps game title 2025-09-05 06:13:18 +00:00
gpt-engineer-app[bot]
0207a808ef Add live updates to slow mode 2025-09-05 05:58:35 +00:00
gpt-engineer-app[bot]
c3e5790ee5 Add slow mode toggle 2025-09-05 05:05:36 +00:00
gpt-engineer-app[bot]
189c4bde54 Add simulation functionality 2025-09-05 05:03:21 +00:00
gpt-engineer-app[bot]
ad9dfb54b0 Fix modal options 2025-09-05 05:00:33 +00:00
gpt-engineer-app[bot]
0a7bfe4389 Add custom rules modal 2025-09-05 04:59:01 +00:00
gpt-engineer-app[bot]
f71baee308 Fix Craps game page link 2025-09-05 04:57:25 +00:00
gpt-engineer-app[bot]
36d3b20bff Add Craps game interactive 2025-09-05 04:07:43 +00:00
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
gpt-engineer-app[bot]
5adaa9e1a3 Add routing and fix copy link 2025-08-22 11:44:49 +00:00
gpt-engineer-app[bot]
3dad5e12df Add undo functionality
Implemented an undo move feature for the subtraction game, allowing users to revert their last action.
2025-08-22 11:39:35 +00:00
gpt-engineer-app[bot]
28e09a1e28 Add numbers below circles
Add small-sized black font numbers below the circles in the Subtraction Game.
2025-08-22 11:37:18 +00:00
gpt-engineer-app[bot]
ddb1c17cb5 Code edited in Lovable Code Editor
Edited UI in Lovable
2025-08-22 11:26:07 +00:00
gpt-engineer-app[bot]
b6dddec259 Fix Subtraction Game link
The Subtraction Game link and copy link functionality have been fixed.
2025-08-22 11:20:42 +00:00
gpt-engineer-app[bot]
eb41d56dc0 Fix copy link functionality 2025-08-22 11:17:43 +00:00
gpt-engineer-app[bot]
ae5c1544ff Add share component and UID
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.
2025-08-22 11:15:51 +00:00
gpt-engineer-app[bot]
8c757b0c0d Add routing for subtraction game
Add routes for the subtraction game to be accessible at `/themes/games` and `/index`.
2025-08-22 11:14:17 +00:00
gpt-engineer-app[bot]
24933851d7 Add player-specific styling
Updated Subtraction Game to visually distinguish between moves made by "Lata" and "Raj". Circles taken by Lata will now have a dashed blue border, while those taken by Raj will have a dashed purple border. Additionally, Lata's background has been changed from red to a muted blue.
-edited src/components/SubtractionGame.tsx
2025-08-22 11:09:58 +00:00
gpt-engineer-app[bot]
f48f7863cc Add hollow circles for empty state
Replace pebbles with hollow circles with a thin grey border when they are all gone.
-edited `src/components/SubtractionGame.tsx
2025-08-22 11:08:33 +00:00
gpt-engineer-app[bot]
cbe125d871 Add hover effect to circles
Add a hover effect to the yellow circles where hovering over a circle turns it and all circles to its right a muted shade of red.
2025-08-22 11:07:06 +00:00
gpt-engineer-app[bot]
4e615985fc Adjust font size in instructions
Reduced font size for the instructional text in Bulgarian Solitaire.
2025-08-22 11:05:51 +00:00
gpt-engineer-app[bot]
de1ee42956 Refine animation sequence
Adjusted the animation sequence to first sort the columns, and then fade the all-red tower to black.
2025-08-22 11:03:14 +00:00
gpt-engineer-app[bot]
106f4f0659 Smooth column sorting animation
Added smooth animation for column rearrangement in Bulgarian Solitaire, transitioning from the current abrupt sorting to a more fluid visual update.
-edited src/components/BulgarianSolitaire.tsx
2025-08-22 11:00:52 +00:00
gpt-engineer-app[bot]
5f22a2f578 Adjust box sizing for red boxes
Ensure red boxes do not exceed the size of black boxes during the animation sequence.
2025-08-22 10:59:17 +00:00
gpt-engineer-app[bot]
dc0872c3a8 Refine Bulgarian Solitaire animation
Update Bulgarian Solitaire animation to fade red highlight in, pause, move blocks to a new column, and then fade back to black.
2025-08-22 10:57:46 +00:00
gpt-engineer-app[bot]
748c12c3cf Fix Bulgarian Solitaire bugs
Update animation to fade to red and back. Debug reset functionality to ensure all states are cleared.
2025-08-22 10:53:25 +00:00
gpt-engineer-app[bot]
4eab9a899b Fix Subtraction Game bugs
Update background color transition to fade instead of blink.
Change the minimum value for n to 2.
Debug and fix issues with the reset functionality not fully clearing the game state.
2025-08-22 10:48:11 +00:00
gpt-engineer-app[bot]
68b40be8ec Code edited in Lovable Code Editor
Edited UI in Lovable
2025-08-22 10:17:22 +00:00
gpt-engineer-app[bot]
1e5ec2add9 Code edited in Lovable Code Editor
Edited UI in Lovable
2025-08-22 10:16:14 +00:00
gpt-engineer-app[bot]
c21faf0710 Code edited in Lovable Code Editor
Edited UI in Lovable
2025-08-22 10:11:45 +00:00
gpt-engineer-app[bot]
a1945611ef Add pause functionality to Bulgarian Solitaire
Update the "Playing..." button to "Pause". When clicked, the simulation will pause and the button text will change to "Continue", allowing the user to resume or reset the game.
2025-08-22 10:09:13 +00:00
gpt-engineer-app[bot]
64f864efed Update Bulgarian Solitaire instructions
Update the slider for n to represent the total number of boxes, with a range of 3 to 45. Modify the instructions to include a spoiler about the convergence to a staircase configuration for triangular numbers.
2025-08-22 10:05:32 +00:00