Commit graph

53 commits

Author SHA1 Message Date
Devin AI
8f2a086df6 Standardize page wrappers, add showSocialShare prop, and add Cmd+K search
- Standardize all page wrappers to use consistent min-h-screen bg-background pattern
- Remove Layout wrapper usage from pages that had it
- Remove page-level SocialShare and headers, move into components
- Add showSocialShare prop to all interactive components for consistent control
- Add Cmd+K / Ctrl+K command palette search across all interactives
- Export allInteractives from InteractiveIndex for reuse

Co-Authored-By: Neeldhara Misra <mail@neeldhara.com>
2026-02-18 20:07:30 +00:00
gpt-engineer-app[bot]
828f2dba66 Changes 2026-01-22 03:04:28 +00:00
gpt-engineer-app[bot]
4e2e099094 Changes 2026-01-21 15:45:45 +00:00
gpt-engineer-app[bot]
e9128f0aea Changes 2026-01-20 04:22:52 +00:00
gpt-engineer-app[bot]
348986b109 Changes 2026-01-13 01:40:36 +00:00
gpt-engineer-app[bot]
55c01cea33 Changes 2026-01-12 09:39:02 +00:00
gpt-engineer-app[bot]
2922027ee7 Changes 2025-12-18 08:56:57 +00:00
gpt-engineer-app[bot]
b8f6f38e8c Changes 2025-12-08 09:29:01 +00:00
gpt-engineer-app[bot]
1b43ff2a32 Changes 2025-12-01 07:02:38 +00:00
Claude
d250cfbca9
Add Presents Puzzle interactive to Discrete Math > Uncertainty
Created a new interactive puzzle that explores probability and search strategies:
- Alice opens boxes in sequential order (1, 2, 3, ...)
- Bob opens odds first, then evens (1, 3, 5, ..., 2, 4, 6, ...)
- 26 presents randomly distributed in 100 boxes
- Interactive visualization with two 10×10 grids
- Single simulation with animated opening process
- Batch simulation of 100 rounds to analyze win rates
- Added to Uncertainty theme page (first interactive in this category)
2025-11-19 02:19:48 +00:00
gpt-engineer-app[bot]
9a127a5e22 Add Cube Coloring interactive 2025-10-28 05:18:26 +00:00
gpt-engineer-app[bot]
7a166fc8d0 Add Burnside's Lemma interactive 2025-10-28 04:55:50 +00:00
gpt-engineer-app[bot]
10fec3a3f6 Add Neighbor Sum Avoidance interactive 2025-09-30 19:14:06 +00:00
gpt-engineer-app[bot]
f71baee308 Fix Craps game page link 2025-09-05 04:57:25 +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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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
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]
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]
a649d2fc41 Refactor index page
Display all interactives and redesign using cards.
2025-07-21 07:58:37 +00:00
gpt-engineer-app[bot]
9803c1a16c Apply security fixes
Implement security enhancements as suggested by the security review.
2025-07-21 07:17:18 +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
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
85a8298352 Fix GameOfSim component layout and add full-screen support
- Add showSocialShare prop to GameOfSim component for conditional social sharing
- Create GameOfSimPage.tsx for standalone access without header/footer
- Create GameOfSimGreenScreen.tsx for green screen mode
- Add routing for /game-of-sim and /game-of-sim/:mode
- Fix GamesGallery to conditionally show header/footer (only in gallery view)
- Update Games.tsx to remove Layout wrapper for proper conditional rendering
- Add unique ID to social share URL for copy link functionality
- Ensure consistent behavior with other interactive components
2025-07-20 09:32:08 +05:30
gpt-engineer-app[bot]
dda00627f8 Add binary search interactive
Recreate the binary search interactive, add a popup explanation, social sharing, and green screen versions. Place it under Data Structures.
2025-07-19 14:51:05 +00:00
gpt-engineer-app[bot]
fb312235f3 Add green-screen friendly versions
Create green-screen versions of interactives, accessible via "/gs-dark" and "/gs-lite" paths. Hide layout elements, set green background, and adjust text/element colors for optimal green screen use.
2025-07-19 13:59:42 +00:00
gpt-engineer-app[bot]
964c544027 Refactor theme structure
Add new themes under Discrete Math, move binary interactive, and remove School Connect.
2025-07-19 13:53:44 +00:00