Agentic Programming · Lab 3: Build with Several Agents Hadar Wolf & Yanir Brody
Collect coins, dodge drones, and survive a 45-second round. Two of us started from the course's tiny Coin Dash starter (Phaser 3) and added features in parallel. Each of us ran our own coding agents on separate branches, and we merged everything into main.
Arrow keys / WASD move · P / Esc pause · R restart
| Feature | By | Commit |
|---|---|---|
Persistent high score (localStorage, shown as "Best") |
Hadar | ea51af6 |
| Pause: P or Esc freezes the game and shows a PAUSED overlay | Yanir | aa98955 |
| Progressive difficulty: every 3 coins is a new level, with faster drones and an extra drone every 3 levels (up to 6) | Yanir | 67e803c |
| Web Audio sound effects for collecting a coin, getting caught by a drone and running out of time (no audio files) | Hadar | 61396ae, merged in d9def57 |
Difficulty tuning lives in settings.js, so features can be tuned without touching game logic.
- One feature = one branch. Each of us ran agents on our own branches at the same time, then rebased and merged into
main. - The combined pair report, built with the course's
lab-reportskill from both laptops' sessions, is inreports/lab03-report.html.
Open index.html in a browser. Phaser is vendored in vendor/, so it needs no network access and has no build step.
index.html,style.css: the pagesettings.js: round length, speeds, difficulty curve, colorsgame.js: scene, input, collisions, score, levels, pause, end of roundsounds.js: sound effects synthesized with the Web Audio APIvendor/phaser-3.90.0.min.js: the pinned Phaser runtime (MIT, seevendor/LICENSE.phaser.txt)
Starter © AICODE course contributors, MIT licence (see LICENSE.txt).
Part of my Agentic Programming labs (HUJI, AICODE 67723): Lab 1 · CTF Arena · Lab 2 · LLM failure modes · Lab 3 · Coin Dash with several agents · Lab 4 · Traffic monitor spec · Lab 5 · Chess: testing new features · Lab 6 · Binary search explainer video