Crate spn_rust_bot
source · [−]Expand description
Welcome to the Rust framework documentation for Schlangenprogrammiernacht players!
This documentation will guide you while you program your Schlangenprogrammiernacht (SPN) bot in Rust.
The code you write in the webinterface will replace the usercode
module, which must provide
the usercode::init()
and usercode::step()
functions. These will be called by the
framework when requested to do so by the gameserver.
We recommend that you start by reading the documentation of the api::Api
struct,
which provides safe access to the data provided by the gameserver.