Starter pack for a 🥔 kartoffels 🥔 bot.
Run:
$ cargo build --release
... and then upload this file to the game:
./target/riscv64-kartoffel-bot/release/kartoffel
Note that this repository implements a rather bare bones robot that'll most likely get killed quite fast - in order to survive, get creative!
When implementing a kartoffel you're essentially creating a firmware, so you
don't have access to std
- no std::fs
, no println!()
etc.
You can communicate through serial_send()
, though, and you can use various
fancy structures like Vec
through the alloc
crate.
You're given 64 KHz CPU and 128 KiB of RAM, have fun.
CC0 1.0 Universal
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of his or her rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law.
You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.