This project is going to take a couple different approaches:
- Starting out, it will be a wasm-compiled library that gets loaded and called by the game client (probably in a loop)
- I'll rip out the things that interface with game code into its own crate (and possibly publish this to cargo)
- Eventually, I'll write a game client in Rust, possibly with Bevy.
To build with the new packaging script:
$ python build_and_package.py gaussian-bots
...and then copy/paste the js from bot_code.js
.
If you don't have the virtual environment set up yet:
$ python -m venv .venv
$ python -m pip install -f requirements.txt