Skip to content
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.

Latest commit

 

History

History
31 lines (18 loc) · 436 Bytes

README.md

File metadata and controls

31 lines (18 loc) · 436 Bytes

Installation

Python 3.4+

pip install -r requirements.txt

Run

# debug
python server.py

# listen to all interfaces
python -m bottle -b 0.0.0.0:8888 server:app

Play

Visit /test/ to init database.

/question/ list all available questions.

/gameadmin/ start a new game.

/play/ for player to enter the game.

/judge/ show the status for the current game. Auto reload for every 2 seconds.