MENU

Fun & Interesting

WasmBots - A WebAssembly-powered programming game

Shane Liesegang, SJ 15,495 3 weeks ago
Video Not Working? Fix It Now

Write code that explore dungeons! WasmBots is a browser-based programming game where you create AI adventurers in any programming language that compiles to WebAssembly (with premade libraries for C/Rust/Zig/Go/AssemblyScript) and watch them navigate procedurally generated worlds. Your bot starts with no knowledge of the dungeon — they only ever see what's immediately around them. Can your code build out a map of the space while avoiding enemies and finding treasure? It's like programming a robot that thinks it's a hero! Good for: ‣ Playing with WebAssembly ‣ Practicing pathfinding algorithms ‣ Understanding game AI ‣ Having fun with cross-language development Website: https://shaneliesegang.com/projects/wasmbots Development Build: https://sjml.github.io/wasmbots/ Source (Monorepo): https://github.com/sjml/wasmbots ---- Visual Assets: https://kenney.nl/assets/tiny-dungeon https://pixel-poem.itch.io/dungeon-assetpuck Music: https://pixelsphere.org / The Cynic Project

Comment