ecem.fyi
Back to projects
2026·Developer

Battle City — Retro Tank Game

A from-scratch Battle City (NES, 1985) clone built on pure HTML5 Canvas — no game engine — with a 6-agent modular architecture.

HTML5 CanvasTypeScriptNext.js

Rebuilt the classic Battle City from the ground up on raw HTML5 Canvas: destructible brick/steel terrain, water and ice tiles, a 4-tier tank upgrade system, 6 power-up types, and 8 handcrafted levels with escalating enemy composition. The codebase is split into 6 focused modules (input, physics, rendering, enemy AI, audio, level loading) instead of one monolithic game loop.

Try it

Highlights