Show HN: Game where players write real JavaScript to battle other players online

store.steampowered.com

1 points by artchiv 17 hours ago

The game was released today. I’m the lead developer and game designer. This game isn’t meant for a wide audience — it’s very niche, since the programming aspect is fully real. Your JavaScript (or any language compiled to WebAssembly) runs on actual servers inside a sandboxed game environment. All language features and systems are allowed.

The game provides opponents and gameplay challenges, as well as a full way to test your code by saving specific opponents as your own unit tests. It’s basically test-driven development (TDD): you encounter an opponent, lose to them (red test), refine your code, beat them (green test), and move up the ladder. Opponents are saved autonomous versions of other players’ scripts, so online presence isn’t required.

There’s a free demo version with a live single-player tutorial available, but without access to multiplayer arenas.