Commit graph

6 commits

Author SHA1 Message Date
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]
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]
1adc590312 Fix hover effect on grey circles
Ensure grey circles do not change color on hover.
2025-08-22 06:35:04 +00:00
gpt-engineer-app[bot]
1ff24d145c 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.
2025-08-22 06:24:19 +00:00