Yet another ZIP game

ZIP³: Taking Path-Connection Puzzles Into 3D

If you enjoy daily grid-path puzzles like LinkedIn’s Zip, the rules are deceptively simple: start at 1, pass through every numbered node in order, and visit every single square on the board in one continuous, non-overlapping line.

ZIP³ takes that core deduction game off the flat 2D page and places it onto rotatable 3D surfaces. Instead of staring at a static grid from one fixed angle, you orbit, tilt, and zoom freely around architectural plinths, stepped terraces, 90° folded monoliths, and full 6-face cubes to trace a single unbroken conduit across every tile.


What Makes 3D Zip Different

Four 3D Board Topologies

  • Flat Plinths: Classic grids scaling from quick 16-tile warmups to dense 81-tile boards with up to 22 waypoints.
  • Stepped Terraces: Multi-tier stone risers where single-level steps bridge smoothly while steep drop-offs act as natural walls.
  • Folded Monoliths: Horizontal decks that bend 90° straight up a vertical back wall, forcing you to orbit to connect both planes.
  • Full 6-Face Cubes: True wraparound spatial puzzles where your path bends across all 12 cube edges and covers up to 54 tiles.

Viewpoint-First Controls

  • Orbit at Will: Right-drag anywhere, left-drag the background, switch into dedicated Orbit mode, or snap between Iso, Top, Front, Back, Left, and Right presets.
  • Camera-Relative Movement: Arrow keys and WASD project moves onto your current screen view, so pressing "Up" always moves toward the top of your screen no matter how you rotated the cube.
  • Straight-Line Glide & Clear Numbers: Clicking a tile further down a straight surface line animates the conduit step-by-step across intermediate tiles, while a hollow ring cursor and circular collars keep waypoint numbers readable at all times.

Progression, Difficulty & Removing the "Training Wheels"

While building the game, two interesting puzzle-design lessons stood out:

  • Fewer Stoppers = Harder Deduction: Physical barrier walls ("stoppers") eliminate invalid turns, which actually makes puzzles easier. To counter that, the 18-level campaign tapers stoppers down across larger boards and ends in an Open gauntlet that strips barriers away step by step—culminating in a 9×9 board with zero stoppers.
  • Fighting the Perimeter Spiral: Standard Warnsdorff heuristics naturally hug outer walls and spiral neatly inward, producing solutions that feel too predictable. To capture the twisty feel of tougher Zip puzzles, the Endless Procedural Generator lets you pick Easy, Medium, or Hard:

    • 2-Color Parity Filtering: Odd-sized grids (7×7, 9×9) have one more tile of one checkerboard color than the other, so every valid Hamiltonian path must start on the majority color.
    • Backbite Path Twisting: After finding a valid tour, the generator applies 2-opt endpoint reversals (Backbite moves) scored for switchbacks and interior turns—breaking up simple border spirals into winding detours while guaranteeing 100% solvability.
    • Decoy Waypoint Placement: On Hard, waypoints are sparser and biased toward locations where two consecutive numbers sit physically close together in 3D space yet require a long winding loop to connect legally.

Under the Hood

ZIP³ is built with React, TypeScript, Tailwind CSS, and Three.js—using procedural canvas textures, studio IBL lighting, throttled raycasting, a Web Audio API sound synthesizer, and viewport-aware camera framing so boards stay centered above the bottom controls on any screen size. It also logs lightweight, anonymous session metrics (active playtime, boards started, and boards solved) to Firebase Firestore, which are viewable in an owner-gated Usage Records dashboard.

Made with Gemini 4 Hydrogen. Click on the image above to play.

Comments

Popular posts from this blog

VFD control with Arduino using RS485 link

Arduino mood light

4xiDraw: Another pen plotter