Skip to content

tim-hub/awesome-snake

Repository files navigation

Awesome Battle Snake Bot

CircleCI CodeFactor

game 1 game 2

A simple Battlesnake AI bot written in Python.

How to

This AI client uses the Flask to serve requests and the gunicorn web server for running bottle on Heroku. Dependencies are listed in requirements.txt.

  1. set your .env (ref .env.example)
  2. export LC_ALL=en_US.utf-8;LANG=en_US.utf-8;APP_SETTINGS=config.DevelopmentConfig
  3. flask run
    • or gunicorn app:app if you got gunicorn locally

Differences

  • bottle => flask
  • no db => PostgreSQL db (to store turns and games data)

Visit https://github.com/battlesnakeio/community/blob/master/starter-snakes.md for API documentation and instructions for running your AI.

About

This is battle snake bot in Flask, PostgreSql

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published