Commit graph

77 commits

Author SHA1 Message Date
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]
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]
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]
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]
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]
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]
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
gpt-engineer-app[bot]
b6a3ad2c59 Update page background and add sharing
Change the entire page background to a subtle green upon successful completion of the rules of inference puzzle. Add share links and a unique URL for direct access to the interactive.
2025-08-11 10:10:04 +00:00
gpt-engineer-app[bot]
3d2d2fdbff Add inference rules playground
Create a new interactive playground for practicing rules of inference under Discrete Math > Foundations. The playground will feature a three-column layout for premises, a workspace with parallel lines for derivations, and a column for relevant inference rules. Users can drag and drop elements, apply rules, and receive validation for their steps. The initial example will be based on the provided screenshot.
2025-08-11 08:57:30 +00:00
gpt-engineer-app[bot]
8a297107f6 Fix index page display
Ensure the guessing game is visible on the index page.
2025-08-10 16:44:33 +00:00
gpt-engineer-app[bot]
1ad16d355c Add guessing game to data structures
Add the guessing game component to the "Data Structures and Algorithms" theme and update the index to include it.
2025-08-10 15:51:03 +00:00
gpt-engineer-app[bot]
a981f2ec87 Add Guessing Game
Implement a guessing game with user-selectable range via slider. Includes two modes: user guesses computer's number, and computer guesses user's number using random, linear, or binary search strategies.
2025-08-10 13:38:45 +00:00
gpt-engineer-app[bot]
aaa3b7f06f Reverted to commit 81f6873c4d 2025-08-10 07:13:18 +00:00
gpt-engineer-app[bot]
f33b2bfa4f Add Dogs & Bunny puzzle
Recreate the Dogs & Bunny puzzle with random puzzle generation, difficulty levels, screenshot functionality, and shareable URL parameters.
2025-08-10 05:32:16 +00:00
gpt-engineer-app[bot]
c257a5f531 Reverted to commit 81f6873c4d 2025-08-10 05:29:14 +00:00
gpt-engineer-app[bot]
61feaaf9e9 Add Dogs and Bunny puzzle
Recreate the Dogs and Bunny puzzle with functionality for random puzzle generation at varying difficulty levels (easy, medium, hard). Allow users to screenshot puzzles or solutions. Implement puzzle sharing via URL parameters.
2025-08-10 05:03:17 +00:00
gpt-engineer-app[bot]
954110c6a2 Add Knights and Knaves puzzle
Adds the "Knights and Knaves - I" interactive to the Foundations section. The interactive features a central arena and five external boxes for statements. Dragging statements into the arena turns them green, and incompatible statements turn the arena red.
2025-08-08 06:49:18 +00:00
gpt-engineer-app[bot]
d050cbe520 Add N-Queens puzzle
Create an N-Queens puzzle where users can place queens on an n x n chessboard. The size of the board can be adjusted using a slider. A timer can be started before placing any queens. Clicking a square places a queen, and clicking a queen removes it. Attacked squares are visually indicated.
2025-07-24 10:36:29 +00:00
gpt-engineer-app[bot]
d455a6e752 Fix: Add puzzle to index
The "Parliament of Sikinia" puzzle was not visible on the index page. This commit adds the puzzle to the index page to resolve the issue.
2025-07-24 03:05:33 +00:00
gpt-engineer-app[bot]
98a2b98975 Add interactive to index
Update width and add Sikinia Parliament puzzle to index page.
2025-07-24 03:04:33 +00:00
gpt-engineer-app[bot]
2e75dfc30e Add Sikinian Parliament puzzle
Create a new playable puzzle based on the Sikinian Parliament problem. The puzzle features 10 individuals in a circular layout with randomly assigned enemy relationships (at most three per person). Users can color individuals blue or pink, and edges between individuals of the same color are highlighted in red if they have more than one same-colored enemy. The puzzle includes start, timer, high score, and share features, and is added to the Puzzles page.
2025-07-23 20:10:51 +00:00
2ccd2fec3a Add Sunny Lines Puzzle - IMO 2025 P6 interactive with grid snapping and line extension 2025-07-23 05:49:08 +05:30
df2b2d6b9e Housekeeping: reorder themes, fix hover effects, update titles, add collapsible tags, move Zeckendorf Search Magic Trick to Data Structures 2025-07-23 05:05:52 +05:30
2580f76025 Add Zeckendorf Search Magic Trick - Fibonacci-based magic trick using Zeckendorf representation 2025-07-22 11:16:30 +05:30
c8d3475104 Add Zeckendorf Representation interactive under Discrete Math > Foundations 2025-07-22 10:47:49 +05:30
f8fd9ac4d8 Add Chessboard Repaint Puzzle - a challenging parity puzzle 2025-07-22 04:50:42 +05:30
d9c0c88333 Add Plate Swap Puzzle with full functionality and attribution 2025-07-22 04:47:21 +05:30
4f27765251 Add The Gold Coin Game - a strategic two-player game where players move coins to acquire the gold coin 2025-07-22 03:44:16 +05:30
6af3ec81ef Add Assisted Nim Game and update components 2025-07-22 03:35:33 +05:30
3705152d34 feat: add standalone Nim game page, route, and container layout; remove global header/footer from /games/nim 2025-07-22 02:40:47 +05:30
gpt-engineer-app[bot]
86183cf856 Visual edit in Lovable
Edited UI in Lovable
2025-07-21 10:22:28 +00:00
gpt-engineer-app[bot]
13f04fd7f7 Rename a title
Rename "Balanced Ternary Number Representation" to "Balanced Ternary Representation".
2025-07-21 10:12:11 +00:00
gpt-engineer-app[bot]
a384562f9f Refactor home page and navigation
Move icon to navigation, update featured interactives, and add random interactives section.
2025-07-21 09:59:47 +00:00
gpt-engineer-app[bot]
5a6442268d Add Knights interactive to index
Add the Knights interactive to the index page.
2025-07-21 09:52:51 +00:00
gpt-engineer-app[bot]
ad504df7ae Visual edit in Lovable
Edited UI in Lovable
2025-07-21 09:52:16 +00:00
gpt-engineer-app[bot]
6eb57f0380 Add "Go back to Puzzles" option
Add a "Go back to Puzzles" option to the Knights Puzzle interactive when accessed from the puzzles page.
2025-07-21 09:21:44 +00:00
gpt-engineer-app[bot]
14a244160a Refactor Knights Puzzle layout
Remove header, footer, and "Classic" tag. Center the title and add a share section. Ensure unique URI.
2025-07-21 09:18:40 +00:00
gpt-engineer-app[bot]
33c4e2dcb7 Add Knights Exchange Puzzle
Make the Knights Exchange Puzzle a standalone interactive and add it to the puzzles theme.
2025-07-21 09:04:17 +00:00
gpt-engineer-app[bot]
3c1a209d89 Add Knight Puzzle interactive
Implement a knight puzzle interactive game, based on the provided image and description. Add the interactive to the puzzles theme and attribute it to the specified source.
2025-07-21 09:00:45 +00:00
gpt-engineer-app[bot]
a649d2fc41 Refactor index page
Display all interactives and redesign using cards.
2025-07-21 07:58:37 +00:00
gpt-engineer-app[bot]
92ae14d796 Add balanced ternary interactive
Create a new interactive for balanced ternary number representation, including add/subtract buttons for each power of three.
2025-07-21 07:33:06 +00:00
gpt-engineer-app[bot]
49fa38cf44 Add ternary number representation
Implement a ternary number representation interactive, similar to the binary one, with powers of three and toggles for 0, 1, or 2 copies of each number, up to the seventh power of 3. Include a random number generator up to 3280.
2025-07-21 07:27:26 +00:00
gpt-engineer-app[bot]
cd588e391a Make Northcott's Game standalone
Give Northcott's Game a unique ID and make it accessible as a standalone interactive.
2025-07-21 07:09:10 +00:00
8c9a8507c8 Fix width consistency across standalone interactive pages
- Update all standalone pages to use consistent container width
- Replace max-w-6xl with container mx-auto for better responsiveness
- Ensure identical width between standalone and theme page access
- Fix BinarySearchTrick and TernarySearchTrick standalone pages
- Update green screen versions for consistency
2025-07-20 10:46:11 +05:30
7451682dd5 Add Ternary Search Magic Trick interactive and fix layout issues
- Create new Ternary Search Magic Trick interactive with ternary search logic
- Add emoji buttons and 'not present' option for better UX
- Implement 'How it Works' modal with embedded YouTube video
- Fix layout margins when accessing interactives from theme pages
- Add standalone and green screen pages for the new interactive
- Update Data Structures theme to include the new interactive
2025-07-20 10:29:09 +05:30
3f04e8c7d7 Refactor site structure and add comprehensive interactive index
- Move Puzzles and Miscellany under Themes
- Add Contest Problems as new theme
- Create About page with comprehensive site information
- Create InteractiveIndex component with advanced filtering and sorting
- Update navigation to include Index, Themes, and About
- Add pagination (10 items per page) with search and tag filtering
- Update routing structure for new theme organization
- Remove standalone Puzzles and Miscellany pages
- Add new theme pages: /themes/puzzles, /themes/miscellany, /themes/contest-problems
- Update homepage to point to new interactive index
- Maintain consistent layout and styling across all new pages
2025-07-20 10:07:04 +05:30