Skip to content

Sample BabaIsYou with trivial maps editions and mutliplayer mode.

License

Notifications You must be signed in to change notification settings

r4mbo7/babaisyou

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BABAISYOU PEP8 Python 3.6

Getting started

Run the game

  1. Clone the repo
git clone [email protected]: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

About

Sample BabaIsYou with trivial maps editions and mutliplayer mode.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages