Skip to content

MorganConrad/tantilla

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tantilla

Tantilla

The tantilla is a family of small, secretive snakes.

A cautious Battlesnake AI written in Javascript using NodeJS / micro.

  1. Don't go outside the ring or hit other snake bodies (including yourself)
  2. If health is low, go get food
  3. 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

Room for improvement

  • The search is only one ply deep.
  • There are various "weights" and "fudge factors" that could be adjusted

Try it

  • Running on repl.it: Tantilla
  • or find it as a "Public Battlesnake" via morganconrad/Tantilla when you Create a Game at play.battlesnake.com

About

Battlesnake written in node / micro

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published