Skip to content

dpletzke/lets-get-trivial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Let's Get Trivial

Lets Get Trivial brings the fun back to trivia!

Challenge your friends online!
Play opponents from around the globe in a public room
Fully customizable categories and game settings


About the app

Lets Get Trivial is built with React. It runs on an Express server and uses Socket.io as a websocket API. The app also utilizes a public trivia api for generating questions and is deployed with Heroku.

Finished Product

Home and Waiting Room

Start Game, Question, Scoreboard, Game Over

Info, Settings, and Public Games

How to Install Locally

Fork and clone this repo. Make sure to run npm install in both the server and the client folders, before starting both the client and the server (in separate terminal windows) and visiting your localhost.

npm install x 2

npm start x 2

If serving 'Let's Get Trivial' locally, you will not be able to host multiplayer games over the internet. If you want to play the multiplayer, working version of the app, visit Let's Get Trivial on Heroku.

How To Play: Game Types

Private

  1. Create a private game room
  2. Send your friends the generated game ID
  3. Select desired game category and settings
  4. Wait for your friends to join

Public

Create a public game room and wait for players to join.
OR
Join a pre-existing public game from the home-page by clicking on the globe icon.


Scoring

  1. Points are earned for correct answers and removed for incorrect answers.
  2. The number of points for each question is based on the difficulty of the question.
  3. Your updated score and points earned will be shown at the end of each question.

Customizable Game Settings

Access game settings upon creating or joining a game.

Category

Select from over 20 categories or leave the category unselected to generate random categories for each question.

Number of Questions

Decide how many questions you want for each round.

Difficulty

Choose between easy, medium, hard or mixed.

Time Limit

Set the time allowed to answer each question.

Game Sounds

Toggle game sounds on or off in the waiting room or settings modal.


Contribute Questions

This app draws questions from the Open Trivia Database. Visit their site to contribute a question to the game.


Developer Credits

Game designed and built by Dan Pletzke, Soren Nissen, and Sebastian Kann.

Fonts are 'Audiowide' by Astigmatic and 'Palanquin' by Pria Ravichandran .

All Rights Reserved ©2020