inkling-webdev
Arena WebDev Preferences (2026)
Build a Tower of Hanoi puzzle with draggable disks, three pegs, move validation, optimal…
- User
Build a Tower of Hanoi puzzle with draggable disks, three pegs, move validation, optimal move counter, and auto-solve visualization.
- Assistant
I've built a polished, interactive Tower of Hanoi puzzle with all the requested features:
Game Features:
- Draggable / Clickable Disks — Click a peg to select its top disk, then click another peg to move it. The interaction is intuitive and works reliably.
- Move Validation — Only the top disk of each peg can be moved, and larger disks cannot be placed on smaller ones. Invalid moves trigger a clear error message.
- Optimal Move Counter — Shows the current move count alongside the optimal minimum (
2^n - 1) for comparison. - Auto-Solve Visualization — Click "Auto Solve" to watch the optimal recursive solution play out step-by-step with smooth animated transitions between pegs.
Design:
- Dark, elegant aesthetic with a subtle dot texture and gradient backgrounds
- Colorful gradient disks with labels and glow effects
- Animated disk movements using Framer Motion
- Responsive layout with stats bar, disk count slider, and collapsible rules panel
- Visual feedback: selected peg highlights, solved state glow, and message banners for wins/errors
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.