wasmbots Svelte Themes

Wasmbots

wasm. bots. πŸ€–πŸ§™β€β™‚οΈπŸ§šπŸ§™β€β™€οΈβš”οΈπŸ°πŸ€–

WasmBots

A multi-wizard arena where all the competitors are bots! (Always a latest build at GitHub Pages, but that site is the canonical deployment.)

WasmBots Teaser Image

The programming interface is described here, and there are pre-made libraries in a bunch of languages to get you started. You can also peruse the code for the example bots.

The documentation can also be useful, or maybe just the development history.,

Development

It's a big ole monorepo. Sorry about that; it's what happens when a proof-of-concept just grows organically. I presumptively registered a wasmbots org on GitHub just in case this becomes A Thingβ„’ in which case I'll split things out more productively.

Prereqs on macOS; modify this appropriately if you're using something else:

brew install deno wabt rust zig emscripten node go tinygo-org/tools/tinygo

At the moment you can verify everything is working as expected by running:

./scripts/_build_wasms.sh
./scripts/_validate_wasms.sh

That will build and validate all the example bots; it doesn't check their functionality at all, just that WebAssembly modules were produced that conform to the expected interface.

Top categories

Loading Svelte Themes