Commit graph

63 commits

Author SHA1 Message Date
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
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]
55b50ddfdd Add Game of Sim interactive
Port the Game of Sim from https://game-of-sim.lovable.app/ to the games theme.
2025-07-20 02:32:19 +00:00
gpt-engineer-app[bot]
e636df7fd1 Add header/footer to data structures page
Add global header and footer to the data structures page and rename the page to "Data Structures and Algorithms".
2025-07-19 15:16:13 +00:00
gpt-engineer-app[bot]
d7232f8470 Refine interactive layout and content
- Center cards in one-by-one mode.
- Remove global header/footer from interactive pages.
- Fix "School Connect" text on data structures page.
- Remove binary representation interactive from data structures list.
2025-07-19 15:03:06 +00:00
gpt-engineer-app[bot]
27f179e517 Visual edit in Lovable
Edited UI in Lovable
2025-07-19 14:52:39 +00:00
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]
b60c8481f7 Add social share and QR code
Add social share buttons and a QR code to interactive pages, excluding green screen pages.
2025-07-19 14:07:18 +00:00
gpt-engineer-app[bot]
04ecfc8d28 Visual edit in Lovable
Edited UI in Lovable
2025-07-19 14:04:53 +00:00
gpt-engineer-app[bot]
f8a51c9f21 Remove header/footer from interactive.
Omit the global header and footer when accessing the interactive from the gallery.
2025-07-19 14:04:34 +00:00
gpt-engineer-app[bot]
223bd234aa Remove header/footer from interactive page
Remove links to green screen versions.
2025-07-19 14:02:38 +00:00
gpt-engineer-app[bot]
9832301750 Visual edit in Lovable
Edited UI in Lovable
2025-07-19 14:01:00 +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]
8f53036a3a Update interactive navigation
Updated the navigation links on the interactive page to "Back to Foundations" on the left and "Back to Discrete Math" on the right.
2025-07-19 13:56:14 +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