Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MorganConrad/tantilla
Battlesnake written in node / micro
https://github.com/MorganConrad/tantilla
battlesnake javascript micro nodejs
Last synced: 3 months ago
JSON representation
Battlesnake written in node / micro
- Host: GitHub
- URL: https://github.com/MorganConrad/tantilla
- Owner: MorganConrad
- Created: 2019-01-10T17:04:01.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-14T18:57:33.000Z (almost 5 years ago)
- Last Synced: 2024-11-12T14:53:49.750Z (3 months ago)
- Topics: battlesnake, javascript, micro, nodejs
- Language: JavaScript
- Size: 8.79 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tantilla
![Tantilla](https://upload.wikimedia.org/wikipedia/commons/9/9c/Tantilla_gracilis.jpg)
The [tantilla](https://en.wikipedia.org/wiki/Tantilla) is a family of small, secretive snakes.
## A cautious [Battlesnake AI](https://battlesnake.io) 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](https://Tantilla--morganconrad.repl.co)
- or find it as a "Public Battlesnake" via morganconrad/Tantilla when you [Create a Game](https://play.battlesnake.com/account/games/create/) at play.battlesnake.com