Skip to content

buxxi/trivia-game

Repository files navigation

Trivia Game

A couch trivia game with multiple possible categories where the players use their smart phone as a controller and a browser in fullscreen for the game. Accompanying the question a movie clip, music or an image could be played with 4 possible answers. This project previously used WebRTC and tried to use do everything in the browser which made a nightmare to support.

Build instructions:

with node (tested on node20):

git clone https://github.com/buxxi/trivia-game.git
cd trivia-game
npm install
mkdir ~/.config/trivia-game
cp config.json.sample ~/.config/trivia-game/config.json
npm run start

or with Docker:

git clone https://github.com/buxxi/trivia-game.git
cd trivia-game
sudo docker build -t buxxi/trivia .
mkdir ~/.config/trivia-game
cp config.json.sample ~/.config/trivia-game/config.json
sudo docker run -d -p 8080:8080 --volume ~/.local/share/trivia-game:/opt/trivia/data/trivia-game --volume ~/.config/trivia-game:/opt/trivia/conf/trivia-game --volume ~/.cache/trivia-game:/opt/trivia/cache/trivia-game --name trivia buxxi/trivia

Sample screenshot:

(a bit outdated) Trivia Screenshot

Notable libraries used:

API's used:

Clips from:

Music & sound from:

Background pattern from:

Avatars from:

About

A trivia game written using phones as controllers and a browser for the game

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •