A mini pop quiz game for CS 118
Docker >=v24
Ports open:
- 80 (Public progress dashboard)
- 22[0-n] (where n is the number of players)
Run start.bash.
To change the number of players (default 10, max 99),
add the option -n <num> where <num> is the number of players you want to
instantiate.
This will:
- Create n + 1 Docker containers with the name
player<i>.- This includes
player0for demonstration. - Each will have ssh open on port
22<i:2>(for example,player1has port2201open). - These are helpdesk servers that players use as a starting point.
- This includes
- Create a progress server to track players' progression.
- Each player connects to the progress server via WebSockets
- The progress server pings the players whenever there's a new round
- Based on the elapsed time, the progress server awards points when a player submits an answer
All the questions are available at player/questions.json. The file
attribute points to a file in the player/texts directory for the actual
question text.