Skip to content

simple Rust web server for single-session jeopardy-style buzzer tracking

Notifications You must be signed in to change notification settings

jacobhenn/buzzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This is a Rust web server (using actix-web). It uses a very simple method to communicate with the Svelte client in client/ to coordinate and decide which client buzzed in first in a certain round.

Features

  • Multiple players can connect to the server from the same client
  • Players may choose their own keys with which to buzz in
  • Players who have already buzzed in in a given round are forbidden from buzzing in until the next round
  • Buzzer keeps track of players' scores
  • Buzzer keeps a comprehensive score history which can be edited arbitrarily by the host and automatically reconstructs current scores based on changes to the history.
  • The server and client communicate over websockets, meaning that virtually zero network resources are used.

Use

Run with cargo run (automatically binds to http://localhost:8080)

This should generate a conf.json file in the project root. In it, you can change the address the server will bind to and the level of logging.

About

simple Rust web server for single-session jeopardy-style buzzer tracking

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published