The tantilla is a family of small, secretive snakes.
A cautious Battlesnake AI written in Javascript using NodeJS / micro.
- Don't go outside the ring or hit other snake bodies (including yourself)
- If health is low, go get food
- Otherwise, "chase your tail". While doing so:
- avoid food
- avoid squares threatened by larger enemy snake heads
- favor squares which have many open squares ("degreed of freedom") around them
- The search is only one ply deep.
- There are various "weights" and "fudge factors" that could be adjusted
- Running on repl.it: Tantilla
- or find it as a "Public Battlesnake" via morganconrad/Tantilla when you Create a Game at play.battlesnake.com