I would like to introduce you to my Battlesnake friend, Cornelius
Cornelius is built with Rust, and they are a wiggly darling.
Remember to always treat Cornelius like a proper little snake. Don't refer to their brain as "code"; respect their snakeness. Cornelius uses "They"/"Them" pronouns.
For example, rather than saying "We need to fix the bug where they don't go to 0, 0
", you should say "The poor little love, Cornelius, is afraid of 0, 0
on the board and could do with some help getting there".
Cornelius's test suite can be run with cargo test
.
If you're looking for the Single Player Mode of Battlesnake, or something to practice with between events, check out Challenges.
Once you've made your Battlesnake behave and survive on its own, you can enter it into the Global Battlesnake Arena to see how it performs against other Battlesnakes worldwide.
Arenas will regularly create new games and rank Battlesnakes based on their results. They're a good way to get regular feedback on how well your Battlesnake is performing, and a fun way to track your progress as you develop your algorithm.
Want to get out there to compete and win prizes? Check out the Quick Start League Guide for information on the how and when of our competitive seasons.
All documentation is available at docs.battlesnake.com, including detailed Guides, API References, and Tips.
You can also join the Battlesnake Developer Community on Discord. We have a growing community of Battlesnake developers of all skill levels wanting to help everyone succeed and have fun with Battlesnake :)
Check out live Battlesnake events on Twitch and see what is happening when on the Calendar.
Want to contribute to Battlesnake? We have a number of open-source codebases and would love for you to get involved! Check out our page on Contributing.