- The reusable engine
engine/loop.js engine/collision.js engine/navigation.js engine/kinematics.js- Keep time, handle collisions, find routes and move platforming bodies. All three games import one engine directory; their game-specific rules stay separate.
- Six browser labs
market-run/labs/01-movement.html market-run/labs/04-delivery/starter.html- Start with a moving marker. Add animation and depth, finish a pickup and handoff, then experiment with replay and the camera.
- Three playable shifts
market-run/game/session.js market-run/levels/markets.json- Play the courier. Pick up parcels, find moving customers and beat the clock. Trace what makes an order succeed or spoil.
- Your fourth shift
market-run/solutions/fourth-shift.json market-run/solutions/winning-run.json- Design a new route and check both handoffs. Compare your level with the worked Bridge Market solution and replay a winning run.
- Three defense missions
outpost/simulation.js outpost/definitions.js outpost/solutions.js- Build towers, manage resources and survive enemy waves. Inspect slowing, splash damage, upgrades, win/loss rules and worked defenses.
- Your own defense map
outpost/editor.html outpost/editor.js- Edit routes, build pads and waves. Validate the map, playtest it and export JSON to keep your level.
- Three platforming stations
signal-runner/simulation.js engine/kinematics.js engine/side-camera.js- Tune coyote time, jump buffering and variable jump height. Add moving and one-way platforms, hazards, checkpoints, a following camera and worked routes.
- Your own platforming level
signal-runner/editor.html signal-runner/levels.js- Place platforms, set motion paths, check the level for placement errors and playtest it. Export JSON, inspect diagnostics and trace the code alongside the book.
- Editable art for three games
market-run/assets/blender/ assets/outpost/ assets/signal-runner/- Keep the Market Run and Outpost art, then add 12 Signal Runner models, four animated GLBs and 56 sprite frames. Open the Blender scenes, inspect the models and follow the rebuild scripts.