Barfly is a bar trivia app. Teams form and compete with each other by answering trivia questions.
- OAuth Login
- User/team can join game with a game id
- Game start/end, length, difficulity managed by a game admin
- Game API gets all scores
- Game API gets all time highest scores
- Game API gets stats for specific game
- As a user, I want to be able to create a profile with a username and password
- As a user, I want to be able to join a trivia game
- Create profile with OAuth
- Choose team name
- Make selection for answer to T/F or multiple choice questions
- Create Game and Start Game
- Choose difficulty
- Game randomly choose category
- Set game length, either time or number of questions
- Be able to re-start the game
- Game will initiate by generating a game code that teams can join
- Game is started by Admin
- Game will keep score and determine winner
- Game Scoring:
- one point for correct answer
- one additional point for correct answer within first 5 seconds
- minus one point for incorrect answer within first 5 seconds
- no penalty for answering beyond 5 seconds
- 15 second time limit per question
- Game API routes for all-time high score, specific game score, all scores