Burger Barracks is a fast local arcade game about grabbing burgers in a crowded military camp while dodging soldiers, bullets, and rival players.
The game is a single self-contained HTML file. No build step, package install, or server is required.
Open index.html in a browser.
- Up to 3 competing players
- Optional AI players, including a full 3-AI autoplay mode
- Separate player scores, combo multipliers, health, shields, and dash cooldowns
- Adjustable AI difficulty
- Adjustable soldier density
- Special burgers:
- Classic: score and combo
- Gold: big score and bonus time
- Spicy: speed boost and burger magnet
- Medic: health recovery
- Supply crates for shields and bonus time
- Pause and resume with
Esc
| Player | Move | Dash |
|---|---|---|
| P1 | W A S D |
Left Shift |
| P2 | Arrow keys | Right Shift |
| P3 | Y G H J |
Space |
P2 and P3 join by pressing their movement keys unless their slots are occupied by AI players.
Before each round, choose:
- AI difficulty: from practice-level bots to the original high-pressure behavior
- Soldier density: from light patrols to the original crowded barracks
- AI player count: 0 to 3
Players compete against each other. Each player has an individual score and combo multiplier. The highest score at the end of the round wins.
This project intentionally stays dependency-free. Edit index.html directly and reload the browser.
Useful JavaScript syntax check:
$html = Get-Content -Raw .\index.html
$script = [regex]::Match($html, '(?s)<script>(.*)</script>').Groups[1].Value
Set-Content .\burger-barracks-check.js $script
node --check .\burger-barracks-check.js
Remove-Item .\burger-barracks-check.js