Notebook Battles
Games
Two teams of mages, a destructible hill, and spells that change the ground between them.
- TypeScript
- Canvas API
- Rapier 2D
- Web Audio API
- Higgsfield
- OpenAI ImageGen
- Pillow
- WebSocket
- Node.js
- Vite
- esbuild
Notebook Battles is a separate turn-based game in the same drawn world. Two teams of three mages take turns moving, aiming, and changing a destructible hill. One spell lets a player draw a bridge or a piece of cover that becomes part of the physical battlefield.
I set the direction for a game whose rules, spells, physics, animation, and interface could change separately, and work with coding agents on the implementation. Local handoff and private rooms use the same match behavior. In a room, the server orders the commands so the two players follow the same battle.
Movement is a limited resource, including a separate retreat allowance after an attack. Physical motion can still carry a mage after that allowance is spent. The rule has to make sense in the battle as well as in the code.
This is a local prototype with results, rematches, and private-room checks between local browsers. Those checks include taking turns, constructing cover, and reconnecting to the same match.