Skip to content

About

🪙 Agentic Programming Lab 3: Coin Dash, features built in parallel by two people and their agents (Phaser 3)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

🪙 Coin Dash: Built with Several Agents

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.

▶️ Play it: https://hadarwolf.github.io/agentic-programming-lab3/

Controls

Arrow keys / WASD move · P / Esc pause · R restart

What we added

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.

How we worked

  • 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-report skill from both laptops' sessions, is in reports/lab03-report.html.

Run locally

Open index.html in a browser. Phaser is vendored in vendor/, so it needs no network access and has no build step.

Files

  • index.html, style.css: the page
  • settings.js: round length, speeds, difficulty curve, colors
  • game.js: scene, input, collisions, score, levels, pause, end of round
  • sounds.js: sound effects synthesized with the Web Audio API
  • vendor/phaser-3.90.0.min.js: the pinned Phaser runtime (MIT, see vendor/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

About

🪙 Agentic Programming Lab 3: Coin Dash, features built in parallel by two people and their agents (Phaser 3)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages