What it does

A toy castle sits on your table. Pinch the catapult arm, pull it back to aim while a dotted arc shows where the shot will land, let go, and smash the bricks until the king falls off his tower. You have 5 shots. 3 stars if you win within 2 shots, 2 within 4, 1 on the last.

  • Aim and power: grab the arm and drag it back and to the side. Pull further for more power; drag sideways to change direction.
  • Physics: the stone ball flies with physics and the castle bricks fall as rigid bodies.
  • 50 levels in 10 groups, each with one idea: Watchtowers, Curtain Wall, Domino Row, Bridges, The Great Keep, Stone Footing, Powder Room (TNT), Twin Castles, Concentric Castle and the Grand Fortress finale. Every level is won either by knocking out the brick that holds the castle up, or by breaking through the walls to reach the king.
  • Progress: winning unlocks the next level; progress and best stars are saved. A level-select window and a Reset button sit next to the catapult.

Who it's for

People who like tabletop and physics games, playing on glasses instead of a phone.

Why it belongs on glasses

  • It draws in the world. The castle sits on the table at real toy size, not on a screen.
  • It leaves your body free. Your hands stay low and relaxed on the catapult, and you can walk around the board like a real board game to find a better angle before you fire.

How I built it

  1. Planned with the Devpost Learn skill pack. The plan-lens skill interviewed me and wrote the design brief (the one spatial moment, why glasses, where everything lives, the done criteria) into the devpost/ folder.
  2. Built by Claude Code through CLAD and the Lens Studio MCP. First one level, then 3 levels to test the game loop and the UI, then scaled to 50.
  3. Level design. The first 50 levels were all the same idea: a stone wall, the king behind it, TNT next to it. That isn't good design, so I had the agent try different ideas until each group had its own (towers to topple, dominoes, bridges, keeps, powder rooms). The plan is in devpost/level-design.md.
  4. Testing. 11 LEAF tests check the controls: the real pinch-and-pull on the catapult arm, the release, the Reset button, and an IK avatar reaching and playing the 5 done criteria with its own hand. Custom test scripts speed things up: a test driver plays every level with a bot and checks that each castle stands on its own and can be won within its shots.

What I learned

  • A coding agent builds fast, but good level design needs someone to say "not all the same". Variety had to come from me.
  • Automated playtests made it safe to go from 3 levels to 50: every level is proven winnable without playing all 50 by hand.
  • Designing for glasses is different from a phone game: keep the hands low, put the information in the world (stars over the castle, balls next to the catapult) instead of a HUD, and use bright colors, because dark colors vanish on an additive display.

Pre-existing code

None besides Lens Studio's Specs Base Template and Snap packages: Spectacles Interaction Kit, Spectacles UI Kit, Motion, Icons, LEAF and Bitmoji 3D.

Repo: https://github.com/Hawam/tabletop-siege

Built With

  • clad
  • claude-code
  • leaf
  • lens-studio
  • lens-studio-mcp
  • spectacles-interaction-kit
  • spectacles-ui-kit
  • typescript
Share this project:

Updates

Submission history