finds.dev← search

// the find

luin/CodeGame

★ 355 · JavaScript · updated Aug 2020

🎮 JavaScript AI tank game

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

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →