Commit graph

354 commits

Author SHA1 Message Date
gpt-engineer-app[bot]
e6be89e548 Reposition share and add ack
Move SocialShare out of header to bottom, replace header area accordingly, and insert a dedicated acknowledgement card at bottom with MoMath Mindbenders and YouTube link, plus keep share component at bottom when enabled. This aligns Ladybug Clock Puzzle layout with other interactives.

X-Lovable-Edit-ID: edt-d2bf8b7d-d596-4228-ba30-d4d98435fd5f
2026-01-21 15:59:11 +00:00
gpt-engineer-app[bot]
808caabb63 Changes 2026-01-21 15:59:10 +00:00
gpt-engineer-app[bot]
d2058a9587 Remove blinking on painted numbers
Hide pulse animation by removing animate-pulse class from orange-painted circles to stop distraction while keeping transition effects intact.

X-Lovable-Edit-ID: edt-506a1461-569b-4fcc-9482-689d43d7005c
2026-01-21 15:55:41 +00:00
gpt-engineer-app[bot]
1db87c9840 Changes 2026-01-21 15:55:41 +00:00
gpt-engineer-app[bot]
6dafca377e Remove current position indicator
Eliminate the moving green circle indicator around the current clock position to simplify the visuals. This patch removes the current-position dashed green ring from the clock rendering.

X-Lovable-Edit-ID: edt-0059841c-aaf9-411d-acaa-883394211df7
2026-01-21 15:52:57 +00:00
gpt-engineer-app[bot]
1e4f8426eb Changes 2026-01-21 15:52:57 +00:00
gpt-engineer-app[bot]
72ba25948c Add Ladybug Clock puzzle
Introduce a new interactive puzzle: The Ladybug Clock Puzzle. Adds a clock-based visualization with a moving ladybug, painting of visited numbers, step/auto controls, batch simulations, statistics dashboard, and educational context. Includes new pages, routing (/puzzles/ladybug-clock), and an entry in the InteractiveIndex and Puzzles theme. Credit links to Mindbenders MoMath and YouTube short.

X-Lovable-Edit-ID: edt-0ce8035a-2581-4883-855e-82a97e578fad
2026-01-21 15:45:45 +00:00
gpt-engineer-app[bot]
4e2e099094 Changes 2026-01-21 15:45:45 +00:00
gpt-engineer-app[bot]
e327f076b3 Refine Eternal Defense moves
Improve Eternal Domination defense to follow exact Figure 10 protocol with step-by-step, non-random guard movements on a fixed 10x12 hex grid; ensure no guard manifests unexpectedly by enforcing simultaneous-move calculation and explicit movement sequencing, including border patchwork shifts and colored movement overlays. Clarify that only existing guards move, provide per-move visualization, and update UI messaging accordingly.

X-Lovable-Edit-ID: edt-8827e02e-a2a2-4c4d-a46c-de0153a748b8
2026-01-20 08:47:29 +00:00
gpt-engineer-app[bot]
2c3acba1d2 Changes 2026-01-20 08:47:28 +00:00
gpt-engineer-app[bot]
abbfb79cea Fix simultaneous defense sweep
Refactor Eternal Domination defense to ensure guards move only in a single, simultaneous sweep without randomManifestation. Introduces a deterministic, border-patchwork approach that shifts existing guards along predefined paths, removes ad-hoc scanning, and preserves guard count while updating movement logic to reflect a coordinated defense.

X-Lovable-Edit-ID: edt-cbb19a37-58ea-4c8f-80e1-5d999d4db6dd
2026-01-20 08:40:33 +00:00
gpt-engineer-app[bot]
1d160659d4 Changes 2026-01-20 08:40:33 +00:00
gpt-engineer-app[bot]
0c2d27be18 Implement exact defense strategy
Implement defense following Figure 10 precisely for Eternal Domination on a 10x12 hex grid:
- Rework defendAttack flow to simulate interior-to-border and border-to-interior moves with complementary border path shifts
- Align initial guard placement and border cycle with the paper’s rules
- Update movement tracking and rendering to reflect exact sequence and border/path semantics
- Improve UI hints and legend to reflect the precise defense steps and paths

X-Lovable-Edit-ID: edt-c9208c6b-c36d-4642-821b-24f493379bc2
2026-01-20 08:27:04 +00:00
gpt-engineer-app[bot]
8c88ce26c0 Changes 2026-01-20 08:27:03 +00:00
gpt-engineer-app[bot]
db6bd5e7e8 Refine Eternal DominationFig10
- Rework Eternal Domination game to strictly follow Fig.10 setup on a fixed 10x12 grid
- Implement double-layer border, interior U3 pattern, and border-cycle defense with complementary paths
- Align adjacency with hexagonal brick pattern, add border/interior guards visuals and movement arrows
- Update UI text and legend to reflect the corrected model and defense steps

X-Lovable-Edit-ID: edt-cc73acb5-8119-4b6f-a72e-efcd1041c28d
2026-01-20 08:20:45 +00:00
gpt-engineer-app[bot]
8729409e8e Changes 2026-01-20 08:20:45 +00:00
gpt-engineer-app[bot]
75d51143e1 Implement double-layer border hex grid defense
Adds Eternal Domination on a Hexagonal Grid with a true double-border (outer and inner) and updated defense logic to follow Figure 10 style movements, including interior-right shifts and border complement-path adjustments. Includes guard generation, domination checks, and hex grid rendering.

X-Lovable-Edit-ID: edt-1484a53e-a02f-4d8a-9599-2858d45929de
2026-01-20 07:08:04 +00:00
gpt-engineer-app[bot]
3797f3ae1e Changes 2026-01-20 07:08:04 +00:00
gpt-engineer-app[bot]
ad9ee173f5 Add hex grid eternal domination UI
Implement Eternal Domination on a fixed 12x10 hexagonal grid, render hex adjacency, and initialize guards per Figure 10. Update defense logic,domination checks, and UI to reflect hex grid, including guards, attacks, and legend.

X-Lovable-Edit-ID: edt-35bb8b52-5d18-4fcb-9079-5c2f56316cc4
2026-01-20 06:58:21 +00:00
gpt-engineer-app[bot]
ff3a0fc9c3 Changes 2026-01-20 06:58:21 +00:00
gpt-engineer-app[bot]
ab7a417629 Add Eternal Domination grid
Introduce a new Miscellany interactive "Eternal Domination on a Grid" implementing a 12x10 grid m-eternal domination defense, initial guard layout from the paper, and attack/defense mechanics. Adds page and routing integration, UI scaffolding, and minimal visuals to reflect the figure-10 strategy.

X-Lovable-Edit-ID: edt-ceed3eb3-61ec-4591-8507-b65b83f35093
2026-01-20 04:22:53 +00:00
gpt-engineer-app[bot]
e9128f0aea Changes 2026-01-20 04:22:52 +00:00
gpt-engineer-app[bot]
c2d2cfa990 Add AscDesc grid puzzle
Implement interactive Ascending-Descending Grid Puzzle (Puzzles theme)
- New AscDescGridPuzzle component with grid, A/D labels, number palette, validation, and hints
- New AscDescGridPuzzlePage and route integration
- Hook into App routing to include new puzzle in puzzles list

X-Lovable-Edit-ID: edt-5f6c4886-712d-47ac-ae85-3364cbbeb22e
2026-01-13 01:40:36 +00:00
gpt-engineer-app[bot]
348986b109 Changes 2026-01-13 01:40:36 +00:00
gpt-engineer-app[bot]
45386ffd9b Fix tiger trap logic in Bagchal
Adjust bagchal game to correctly detect tiger traps using updated goat positions
- Reintroduced isTigerTrappedWithGoats to evaluate traps with current goat placements
- Replaced premature trap checks to use updated goat positions after moves
- Fixed three call sites to ensure trap evaluation uses latest state
- Preserved existing win conditions and goat-tiger interaction flows

X-Lovable-Edit-ID: edt-74e1bc3c-b0e9-49f9-83c7-efbe7bea49bc
2026-01-12 09:47:46 +00:00
gpt-engineer-app[bot]
8aad6ed2b2 Changes 2026-01-12 09:47:46 +00:00
gpt-engineer-app[bot]
bbdbdbda06 Add Bagchal game interactive
Introduce a new Bagchal game (Tiger and Goats) with grid-based setup, sliders to adjust m x n (rows 2-10, cols 2-10), goat count, and game modes (2-player or play vs computer). Implement tiger/goat placement phases, movement rules, capture mechanics, and win conditions. Wire into app routes and gallery, and provide Bagchal page.

X-Lovable-Edit-ID: edt-bed94c41-2926-491b-92df-ca0f60dbdc36
2026-01-12 09:39:03 +00:00
gpt-engineer-app[bot]
55c01cea33 Changes 2026-01-12 09:39:02 +00:00
gpt-engineer-app[bot]
dee3482dfa Update U-matrix on rent changes
Ensure the U-matrix recalculates whenever rents are updated by clarifying dependencies and re-render behavior in RentDivisionPuzzle.tsx, so changes to individual rents trigger a recalculation of utilities (U = V - R) across all agents and rooms.

X-Lovable-Edit-ID: edt-a60b7332-4f67-4926-a402-d083626b1c12
2025-12-18 09:13:45 +00:00
gpt-engineer-app[bot]
4ac463e70e Changes 2025-12-18 09:13:45 +00:00
gpt-engineer-app[bot]
eb42b1caa7 Add Social Choice listing
Add a Social Choice theme page listing interactives, including Envy-Free Rent Division, with a structured gallery similar to Games and Rent Division pages, using icons and descriptive cards.

X-Lovable-Edit-ID: edt-a900553a-3f11-49b7-90bc-4ea5f2b4481e
2025-12-18 09:07:59 +00:00
gpt-engineer-app[bot]
1910f2ae6c Changes 2025-12-18 09:07:59 +00:00
gpt-engineer-app[bot]
a1ae2df9b9 Add rent total slider and icons
- Introduce a total rent slider to Rent Division puzzle to vary overall budget
- Replace agent labels with icons and show names to the left of icons

X-Lovable-Edit-ID: edt-606b97af-eba4-41c9-983c-f406baa289b7
2025-12-18 09:02:39 +00:00
gpt-engineer-app[bot]
78528fbe8d Changes 2025-12-18 09:02:39 +00:00
gpt-engineer-app[bot]
394bf32820 Add envy-free rent division UI
Introduce an interactive 4-agent, 4-room tool to populate V-matrix, set rents, assign rooms, compute U-matrix, and highlight envy. Includes routing page and partial UI layout for V/U matrices, allocations, and envy display.

X-Lovable-Edit-ID: edt-3968a01f-7029-4266-a86a-025fce6e3954
2025-12-18 08:56:57 +00:00
gpt-engineer-app[bot]
2922027ee7 Changes 2025-12-18 08:56:57 +00:00
gpt-engineer-app[bot]
9ab07e0421 Fix vertical placement hover bug
- Improve handleCellHover logic to consider all ways a domino could cover the hovered cell, including vertical placements that start at the cell above. This ensures you can always put a vertical domino back to its original position by hovering over the relevant adjacent cell.

X-Lovable-Edit-ID: edt-40e80a71-a4ae-4645-a1b3-e8105a8f3680
2025-12-08 10:00:40 +00:00
gpt-engineer-app[bot]
8115d26824 Changes 2025-12-08 10:00:39 +00:00
gpt-engineer-app[bot]
065ce19cd1 Improve board container UI
Enhance DominoRetilingPuzzle board by enlarging the container to remove scrolling, and add cleaner boundaries with padding and rounded corners. Adjust surrounding layout accordingly.

X-Lovable-Edit-ID: edt-922d5ab6-04d3-4109-911c-0f050d43acb5
2025-12-08 09:41:19 +00:00
gpt-engineer-app[bot]
56c73bf714 Changes 2025-12-08 09:41:19 +00:00
gpt-engineer-app[bot]
c5d7901fa2 Shade inaccessible region
Shade the inaccessible last-column region (except top tile) to reflect board limits and fix tiling holes at 12x12 by ensuring the shaded area covers missing cells and address incomplete tiling bugs.

X-Lovable-Edit-ID: edt-11779aed-a2f6-4c13-92a0-0ccbd20e7020
2025-12-08 09:40:11 +00:00
gpt-engineer-app[bot]
2e99b4b53d Changes 2025-12-08 09:40:11 +00:00
gpt-engineer-app[bot]
bfff2b5651 Add board size slider
Introduce an interactive feature to adjust the domino puzzle board size (2–12, even-only) and shade the blue extra square. The update includes:
- A new slider for selecting board dimensions (even numbers only, 2–12)
- Blue extra square shading to be visually distinguished
- Maintains existing puzzle mechanics across any chosen dimension
- Ensures the description text and UI reflect the selected board size dynamically

X-Lovable-Edit-ID: edt-d3f37ef8-791f-4f55-a0a9-9c25178e7cec
2025-12-08 09:37:58 +00:00
gpt-engineer-app[bot]
3b26796cd0 Changes 2025-12-08 09:37:58 +00:00
gpt-engineer-app[bot]
5671af101c Make domino move hover only
Update DominoRetilingPuzzle UI to:
- hide the selected domino from the board
- use a hover-based placement indicator instead of dashed outlines
- trigger placements on hover-and-click interaction (described in code)

X-Lovable-Edit-ID: edt-3461c9a0-2f9d-48af-acf7-3a0962c81a8f
2025-12-08 09:33:01 +00:00
gpt-engineer-app[bot]
12606925b7 Changes 2025-12-08 09:33:01 +00:00
gpt-engineer-app[bot]
1dfa8d6617 Create Domino Retiling puzzle
Implement an interactive Domino Retiling puzzle:
- New DominoRetilingPuzzle component to tile an augmented 8x8 board into all horizontal dominoes with an extra right-hand square
- New DominoRetilingPuzzlePage and route integration
- Puzzles list integration via App.tsx
- Pattern follows existing puzzle UI (cards, instructions, board, interactions)
- Includes generate/random tiling, valid placement, and reset hooks for replayable puzzles

X-Lovable-Edit-ID: edt-14d7396d-c5c0-4f4b-bf64-4264937b9c28
2025-12-08 09:29:01 +00:00
gpt-engineer-app[bot]
b8f6f38e8c Changes 2025-12-08 09:29:01 +00:00
gpt-engineer-app[bot]
fd3e1ac8d7 Color full hook segments
Color entire L-shaped hooks in Ferrers-Ramanujan diagram, not just diagonal boxes. Applies colors to all boxes forming each hook (boxes to the right in the same row and below in the same column) with consistent coloring across both diagrams. Updates color generation and rendering accordingly.

X-Lovable-Edit-ID: edt-5dda2f3e-2253-418a-a683-aaa8c065ec76
2025-12-01 07:10:55 +00:00
gpt-engineer-app[bot]
0b89a70805 Changes 2025-12-01 07:10:55 +00:00