Commit graph

33 commits

Author SHA1 Message Date
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]
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
gpt-engineer-app[bot]
9c01501d9a Update Bulgarian Solitaire opening text
Updated the introductory text for the Bulgarian Solitaire interactive to include a note about columns holding multiple boxes and to rephrase the description of the simulation process.
2025-08-22 10:01:48 +00:00
gpt-engineer-app[bot]
6e6c8b5a42 Add "Random Start" to Bulgarian Solitaire
Added a "Random Start" option to the Bulgarian Solitaire game, allowing players to begin with a randomized initial setup.
-edited src/components/BulgarianSolitaire.tsx
2025-08-22 09:59:30 +00:00
gpt-engineer-app[bot]
7ab27088a6 Code edited in Lovable Code Editor
Edited UI in Lovable
2025-08-22 07:13:36 +00:00
gpt-engineer-app[bot]
a77a3e7982 Code edited in Lovable Code Editor
Edited UI in Lovable
2025-08-22 07:11:43 +00:00
gpt-engineer-app[bot]
e331c33aa7 Remove "Credits:" title
Removed the "Credits:" title from the green box in `src/components/BulgarianSolitaire.tsx`.
2025-08-22 05:18:24 +00:00
gpt-engineer-app[bot]
930929ce56 Center block in green block
Vertically center the selected block within the green block in `src/components/BulgarianSolitaire.tsx`.
2025-08-22 05:16:18 +00:00
gpt-engineer-app[bot]
6dd022034f Update background colors
Set instructions box background to muted blue and credits box background to light green.
2025-08-22 05:15:49 +00:00
gpt-engineer-app[bot]
dc7d868a8d Update instructions to be a toggle
Changed "How to Play:" to "Click here for instructions." and implemented a toggle functionality to show/hide the instructions content.
2025-08-22 05:13:22 +00:00
gpt-engineer-app[bot]
2c8e37eccc Add links to credits section
Adds hyperlinks to the credits section for Wikipedia, the puzzle book, Peter Winkler, Martin Gardner, and Akash Kumar.
2025-08-22 05:12:05 +00:00
gpt-engineer-app[bot]
830edd8e6b Add credits section
Add a credits box below the current section with information about Bulgarian Solitaire, its origins, and resources for further learning.
2025-08-22 05:10:52 +00:00
gpt-engineer-app[bot]
62832a3758 Refactor text for clarity
Move "Will this process always converge?" to a new line in the instructions for better readability.
2025-08-22 05:08:08 +00:00
gpt-engineer-app[bot]
81d34ca101 Code edited in Lovable Code Editor
Edited UI in Lovable
2025-08-22 05:06:51 +00:00
gpt-engineer-app[bot]
cbe2461204 Refactor drag and drop for mobile
Replaced drag and drop functionality with a click-to-select and click-to-drop interaction for mobile friendliness. When a box in the container is clicked, columns become highlighted and clickable. Clicking a column drops the box there, and the columns return to their default state. Existing features like double-clicking and desktop drag-and-drop remain.
2025-08-22 04:57:14 +00:00
gpt-engineer-app[bot]
1700a6f984 Update Bulgarian Solitaire component
Modify the Bulgarian Solitaire component to send a double-clicked box from the container to the last used column.
2025-08-21 11:43:42 +00:00
gpt-engineer-app[bot]
23637eb547 Update Bulgarian Solitaire
Modify the Bulgarian Solitaire component to send double-clicked boxes to the last-used column.
2025-08-21 11:34:27 +00:00
gpt-engineer-app[bot]
1aeba0b861 Refine Bulgarian Solitaire instructions
Update instructions to remove "numbered" from the text describing dragging boxes from the container to columns in the Bulgarian Solitaire interactive.
2025-08-21 11:27:15 +00:00
gpt-engineer-app[bot]
ddad5ba645 Refactor Bulgarian Solitaire layout
Adjusted the layout of Bulgarian Solitaire to display up to 15 columns before wrapping to a new row. Removed labels from the small black boxes as they are unnecessary.
2025-08-21 11:25:26 +00:00
gpt-engineer-app[bot]
e92a054f59 Allow dragging blocks across columns
Enabled dragging of blocks between columns before the simulation begins in `src/components/BulgarianSolitaire.tsx`.
2025-08-21 11:22:06 +00:00
gpt-engineer-app[bot]
8944a5e485 Refine Bulgarian Solitaire columns
Adjusted column width in Bulgarian Solitaire to be just wider than block width. Implemented sorting of columns by height (tallest to left) after simulation starts. Added visual feedback: highlighting top boxes red, animating their movement to form the last column, and then visually displaying the sorting process.
2025-08-21 11:20:19 +00:00
gpt-engineer-app[bot]
cb484c418e Add Bulgarian Solitaire interactive
Create a new interactive component for Bulgarian Solitaire. This component will allow users to select a number `n` (2-6), visualize a container with `1+2+...+n` boxes, and arrange these boxes into `1+2+...+n` columns. Users can drag and drop boxes between columns and return them to the container by double-clicking. A "Play" button will initiate the simulation of the Bulgarian Solitaire process until a steady state is reached. This interactive will be added to the Puzzles section.
2025-08-21 11:16:49 +00:00