"Hearty" is a complete rewrite of the "framework" (if you want to call it that) which was used by Robo and Mabel. It uses Mojave's port of the Battlesnake rules to generate future game states. The alpha-beta pruning Minimax algorithm has been updated to predict moves for multiple snakes. The floodfill algorithm has received many bugfixes. The board scoring heuristic takes many more factors into consideration. And this snake features a full regression test suite. Hearty currently outperforms my old snakes in all game modes except Constrictor. It gets its' name because it runs on the Heart web server (giving 2x faster response times than OpenResty, which was used by my previous snakes). Written in Lua, running in Docker and hosted by Fly.io.

Private Royale Lua House of Chris Hungry Alpha-Beta Heuristic Tree Search ­čží Latency

Created March 20, 2021

Arena Standings

Global Arena


20817 games played
7563 wins
13254 losses

Global Duels


22196 games played
12433 wins
9763 losses

Global Royale


20873 games played
6682 wins
14191 losses

Global Royale (Galaxy Brain)


1993 games played
637 wins
1356 losses

Global Royale (Speed Snake)


411 games played
161 wins
250 losses
Recent Games