Commit graph

206 commits

Author SHA1 Message Date
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]
13724037e6 Fix Bulgarian Solitaire link
Fix the broken link to Bulgarian Solitaire from the global index at `/index`.
2025-08-22 07:05:42 +00:00
gpt-engineer-app[bot]
d01d9e8290 Fix Stacking Blocks base cases
Addressed bugs in the Stacking Blocks interactive, specifically concerning base cases.
Here are the files that were edited by the AI in that message:
-edited src/components/StackingBlocks.tsx
2025-08-22 06:55:10 +00:00
gpt-engineer-app[bot]
8a6fed8078 Refactor Stacking Blocks interactive
Update Stacking Blocks interactive to break stacks on hover, display points in tooltips, and remove the modal.
Here are the files that were edited by the AI in that message:
-edited src/components/StackingBlocks.tsx
2025-08-22 06:48:56 +00:00
gpt-engineer-app[bot]
d352192c9e Add Stacking Blocks interactive
Add "Stacking Blocks" interactive to the Puzzles page. This new interactive is based on the description provided in the attached screenshots.
2025-08-22 06:42:56 +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
gpt-engineer-app[bot]
4be4ab3ef5 Add Bulgarian Solitaire to index
Added Bulgarian Solitaire to the global index at `/index`.
2025-08-22 06:08:07 +00:00
gpt-engineer-app[bot]
5585cf8ce5 Update sim game route
Update the route for the Game of Sim to `/sim` so that the provided URL leads to the game.
2025-08-22 05:53:39 +00:00
gpt-engineer-app[bot]
927c445677 Update Sim game page
Add unique ID to Sim game and update link and QR code.
2025-08-22 05:50:52 +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
gpt-engineer-app[bot]
dcdfa9e5f5 Fix "Back to Puzzles" link
Ensure "Back to Puzzles" link is displayed correctly on the pebble placement interactive page when accessed via the puzzles section.
2025-08-21 11:02:06 +00:00
gpt-engineer-app[bot]
2fb52c752a Center align share buttons
Center aligned the share buttons in the `SocialShare` component.
2025-08-21 11:00:17 +00:00
gpt-engineer-app[bot]
ba5dac212e Refactor interactive links
Update interactive links to generate unique URLs and categorize the pebble placement interactive under "Puzzles" while removing it from "DSA" and "Games".
2025-08-21 10:59:06 +00:00
gpt-engineer-app[bot]
0c19a83999 Change grey text to white
Updated the text color in the "All pebbles placed!" message from grey to white in `src/components/PebblePlacementGame.tsx`.
Here are the files that were edited by the AI in that message:
-edited src/components/PebblePlacementGame.tsx
2025-08-21 10:56:28 +00:00
gpt-engineer-app[bot]
822890a461 Extend number line and n option
Extend the number line in `src/components/PebblePlacementGame.tsx` to 100 and add an option for n=6.
2025-08-21 10:54:24 +00:00
gpt-engineer-app[bot]
fc28970659 Refactor pebble placement layout
Adjust the layout of the integer circles in the pebble placement game to display them in a single line as much as possible.
2025-08-21 10:53:08 +00:00
gpt-engineer-app[bot]
07be682cb5 Add visual feedback to pebble game
Update the pebble placement game to provide visual cues for pebble removability and valid placement locations. Pebbles that cannot be picked up will be colored muted red, while those that can be picked up will be muted green. Valid placement spots will be highlighted with a 1px border.
- edited `src/components/PebblePlacementGame.tsx
2025-08-21 10:52:02 +00:00
gpt-engineer-app[bot]
3b66a78800 Explain pebble removal logic 2025-08-21 10:49:15 +00:00
gpt-engineer-app[bot]
d57837d286 Update pebble game rules
Allow the user to continue playing the pebble game as long as there are removable pebbles. The pebble at position 1 is always considered removable.
2025-08-21 10:47:57 +00:00
gpt-engineer-app[bot]
8917e1a66f Add pebble game interactive
Add a new interactive game where users place pebbles on an integer line from 1 to 35. The rules are:
- A pebble can only be placed on position `i` if position `i-1` has a pebble.
- Position 1 can always have a pebble placed on it.
- Users start with `n` pebbles (chosen via a slider from 2 to 5).
- The goal is to find the largest integer position for which a pebble can be placed.
2025-08-21 10:45:38 +00:00
gpt-engineer-app[bot]
927db0fcd1 Remove share text
Remove "Share this interactive:" text from the SocialShare component.
2025-08-16 05:21:42 +00:00
gpt-engineer-app[bot]
c7511e8d49 Hide backlinks on direct access
Hide the "backlinks" component when the Rules of Inference Playground is accessed directly via its URL. The backlinks should only be visible when accessed through the themes listing.
2025-08-11 12:34:19 +00:00
gpt-engineer-app[bot]
548b21aaa5 Fix simplification rule
The simplification rule in the Rules of Inference Playground now presents both possible outcomes instead of assuming one.
2025-08-11 12:32:50 +00:00
gpt-engineer-app[bot]
45f984027e Remove one featured interactive
Remove one featured interactive from the homepage to maintain a list of three.
2025-08-11 12:27:14 +00:00
gpt-engineer-app[bot]
5305eaaee9 Remove Number Guessing Game
Remove "Number Guessing Game" from featured interactives on the homepage and add the inference playground to the Index listing at `/index`.
2025-08-11 12:26:12 +00:00
gpt-engineer-app[bot]
4e95d8d3cf Fix Hypothetical Syllogism Rule
The AI fixed the hypothetical syllogism rule in `src/components/RulesOfInferencePlayground.tsx` to correctly apply to the given premises and target conclusion.
2025-08-11 12:15:41 +00:00
gpt-engineer-app[bot]
cb2c983c28 Fix: Explain why hypothetical syllogism is not applicable
Explain to the user why the hypothetical syllogism rule is not applicable in the current context of the Rules of Inference Playground.
2025-08-11 12:07:41 +00:00
gpt-engineer-app[bot]
970f503da5 Add more examples to playground
Add two new exercises to the Rules of Inference Playground, making a total of three accessible examples.
2025-08-11 12:00:48 +00:00
gpt-engineer-app[bot]
13062b5fa3 Fix link generation for interactive
Correctly generate the URL for the Rules of Inference interactive to ensure it points to the correct path.
2025-08-11 11:34:10 +00:00
gpt-engineer-app[bot]
6877dee89d Add Social Share Component
Add the social share component to the Rules of Inference Playground page.
2025-08-11 11:33:08 +00:00
gpt-engineer-app[bot]
3817f2d692 Add unique URLs and share component
Create unique URLs for interactives and add the SocialShare component to the bottom of the Rules of Inference Playground.
2025-08-11 11:32:11 +00:00