Skip to content

About

🚩 Agentic Programming Lab 1: CTF Arena, a capture-the-flag browser shooter built live in one hour

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

🚩 CTF Arena

Agentic Programming · Lab 1: Build Something Live in 1 Hour

A top-down capture-the-flag shooter that runs in the browser. You play alongside 4 AI teammates against 5 AI enemies. Grab the enemy flag, carry it back to your base, and watch out for wizards. Built live in one hour with Claude Code, in a single HTML file with no libraries and no build step.

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

Controls

Key Action
WASD move
Shift sprint
Mouse aim
Click shoot
R reload
Esc menu

Features

  • Two teams of five, with bot AI that pushes, defends and takes cover behind obstacles
  • Flag carry and capture, with a "YOU HAVE THE ENEMY FLAG" banner while you're carrying it
  • Wizards as a third, neutral threat
  • Everything in index.html, drawn on a <canvas>

Run locally

Open index.html in any modern browser. There's nothing to install.

How it was built

The commit history shows the iterations. The first version was a wave-based twin-stick shooter, and it was then rebuilt as capture-the-flag with bot teams and wizards.


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 1: CTF Arena, a capture-the-flag browser shooter built live in one hour

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages