Skip to content

eado/boelter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

boelter

A mini pop quiz game for CS 118

Requirements

Docker >=v24
Ports open:

  • 80 (Public progress dashboard)
  • 22[0-n] (where n is the number of players)

Setup

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 player0 for demonstration.
    • Each will have ssh open on port 22<i:2> (for example, player1 has port 2201 open).
    • These are helpdesk servers that players use as a starting point.
  • 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

Questions

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published