I wrote this game as a demo for a talk I was invited to give at DevSoc (The University of York Game Dev Society)
It's a real time online multiplayer game. Similar in style to jackbox games it is played by lots of people in one room on mobile phones, along with a main view normally displayed on a big screen.
You can play this at https://trafficwarden.online
(Assuming that I haven't neglected to keep the server running, the domain name renewed, and the letsencrypt cert working)
-
Clone this repo
-
Make a python venv
virtualenv --python=python3 venv
-
Enter the venv
source venv/bin/activate.<something>
(changes depending on your shell, for bash usesource venv/bin/activate
) -
Install the deps in the venv
pip install -r requirements.txt
-
Configure the game
cp config.example.json config.json
(and then edit config.json) -
Run the server
./server.py
-
Navigate your browser to the url provided by the server
host
: hostname or IP address to listen on (default: localhost)
port
: port number to listen on (default: 8080)
show_stats
: set to true to enable the "/stats" endpoint
ext_url
: The URL used as a base for generating the join link. Required if you are running this behind a reverse proxy (defaults to 'http://{host}:{port}')