Skip to content

Latest commit

 

History

History
76 lines (57 loc) · 1.27 KB

File metadata and controls

76 lines (57 loc) · 1.27 KB

BABAISYOU PEP8 Python 3.6

Getting started

Run the game

  1. Clone the repo
git clone git@github.com:r4mbo7/babaisyou.git
  1. Install requirements - you need python3 (venv is recommended)
pip install -r requirements.txt
  1. Game on !
python3 -m babaisyou

Screen shot 1

Maps

Maps are sample txt files. See examples in /maps directory.

Change maps

python3 -m babaisyou -m maps/3.txt

Multiplayer mode

  1. Start a redis
docker run --rm --name redis-server -p 6379:6379 -d redis
  1. Start the server
python3 -m babaisyou -s
  1. Game on !

player1

python3 -m babaisyou -c -m maps/mp0.txt

player2

python3 -m babaisyou -c -m maps/mp0.txt

Screen shot 2

Dev

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