Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tim-hub/awesome-snake
This is battle snake bot in Flask, PostgreSql
https://github.com/tim-hub/awesome-snake
List: awesome-snake
battlesnake
Last synced: 27 days ago
JSON representation
This is battle snake bot in Flask, PostgreSql
- Host: GitHub
- URL: https://github.com/tim-hub/awesome-snake
- Owner: tim-hub
- License: mit
- Created: 2019-03-08T19:54:20.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-09-07T00:22:01.000Z (over 5 years ago)
- Last Synced: 2024-05-21T07:01:11.896Z (9 months ago)
- Topics: battlesnake
- Language: Python
- Homepage:
- Size: 116 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Awesome Battle Snake Bot
[](https://circleci.com/gh/tim-hub/awesome-snake)
[](https://www.codefactor.io/repository/github/tim-hub/awesome-snake)
A simple [Battlesnake AI](http://battlesnake.io) bot written in Python.
## How to
This AI client uses the Flask to serve requests and the [gunicorn web server](http://gunicorn.org/) for running bottle on Heroku. Dependencies are listed in [requirements.txt](requirements.txt).0. set your `.env` (ref `.env.example`)
1. `export LC_ALL=en_US.utf-8;LANG=en_US.utf-8;APP_SETTINGS=config.DevelopmentConfig`
2. `flask run`
3. - 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.