Skip to content

StevenBarre/battlesnake2021

 
 

Repository files navigation

A Battlesnake Written in Python

This is Steven Barre's Battlesnake bot based on the upstream Python Starter Snake.

Env Setup

I'm running in RHEL 8 and using the Python 3.8 AppStream

sudo yum module install python38/build
python3.8 -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements-dev.txt

There's two requirement files. One for production use (ie: building a container to run the server) and one for development that include PyTest and helpers.

Testing

Use PyTest to test the snake server. Since the server is built on CherryPy, there's some helpful testing modules specifically for it.

python -m pytest --cov=server --cov-report term-missing

About

A simple Battlesnake written in Python.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%