finds.dev

luin/CodeGame

🎮 JavaScript AI tank game

View on GitHubHomepage ↗

★ 355JavaScriptupdated Aug 2020

// the take

A multiplayer tank battle game where players submit JavaScript AI scripts that control tanks on a shared server. Think coding competition meets game — you write the bot logic, the server runs matches and tracks rankings. Chinese documentation only.

- The sandboxed execution model for player code is the right approach — player scripts run in a separate sandbox directory isolated from game internals

- Replay system is built in from the start, which matters for debugging why your bot died

- GitHub OAuth for auth keeps user management trivial for a side-project competition server

- The architecture is simple enough that forking and running your own tournament instance is realistic

- Abandoned since 2020, targeting Node v0.11.12 (released 2014) — this will not run on any modern Node without substantial effort

- Documentation is entirely in Chinese with no English translation, which cuts off most of the potential audience

- Requires MySQL + Redis for what is essentially a toy game server — the operational overhead is disproportionate to the use case

- No tests anywhere in the codebase; the game logic in sandbox/ is completely untested, so edge cases in the physics/collision code are just lurking bugs

We read the README, the directory tree and a key source file in July 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
355
Forks
75
Language
JavaScript
Last commit
9 Aug 2020

// nearby

If CodeGame isn't quite it.

All repos →