- Clone the repo
git clone [email protected]:r4mbo7/babaisyou.git
- Install requirements - you need python3 (venv is recommended)
pip install -r requirements.txt
- Game on !
python3 -m babaisyou
Maps are sample txt files. See examples in /maps directory.
Change maps
python3 -m babaisyou -m maps/3.txt
- Start a redis
docker run --rm --name redis-server -p 6379:6379 -d redis
- Start the server
python3 -m babaisyou -s
- Game on !
player1
python3 -m babaisyou -c -m maps/mp0.txt
player2
python3 -m babaisyou -c -m maps/mp0.txt
Watch logs while playing
watch -n 1 tail -n 25 app.log
Prefixes to start a commit message
DEV: development tool or utility
DOC: documentation
ENH: enhancement
MAINT: maintenance commit (refactoring, typos, etc)
TST: addition or modification of tests