Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 960 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 960 Bytes

Battlesnake Rust Project

Competing at play.battlesnake.com. Each participant provides the brain of his own snake on a self hosted server to survive the longest on the playing field. Games run daily and a leaderboard of the smartest snakes is created. Here is the current ranking of this snake.

Technologies Used

This project uses Rust and Rocket for performance reasons (simulating future gamestates scales exponentially so optimization is key). It also comes with an Dockerfile that is used for easy Google Could Run deployment.

Commands

cargo run
cargo test
cargo bench

To test snakes against stored states

VARIANT=simple_hungry cargo test
VARIANT=simple_tree_search cargo test
VARIANT=depth_first cargo test
VARIANT=breadth_first cargo test