"We're Snaking it Live!"
summary
Multiplayer Battlesnake runs as a web server with /info /start /move /end routes, 500ms turns and snakes that starve after 100 ticks; a TypeScript Express bot is built and run locally, it first always goes right and dies, then uses flood fill to avoid tight spaces, A pathfinding to reach food, and a height mapping* risk map to prefer safer paths. Demos show it survives longer, sometimes starves, and competes against other bots including Rust and C++ snakes.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 3:19What Battlesnake is
- 8:43Battlesnake AI techniques
- 13:44Graphs and board
- 15:55Flood fill to avoid walls
- 17:21A* pathfinding for food
- 21:53Height mapping nuances
- 23:01Neural networks risks
- 27:57Real AI with human decisions
- 31:49Live Battlesnake demo
- 32:12Improving snake decisions
- 34:43Game modes and demos
- 37:53Summary








