by Barry McNamara (barryam3@alum.mit.edu)
This app is designed as a tool to play Jeopardy-style trivia games in real life. It displays questions and tracks scores, but it is not intended to be an online game in itself.
- clone the repo
- install dependencies (
npm i
) npm run build
npm start
- app should be live at
localhost:3000
Disclaimer: This app was created solely for personal use by its creator. Ease of use has occasionally been sacrificed in favor of ease of implementation, leading to some things being less intuitive than they would be if this app had been designed with distribution in mind. The app also may have bugs, like any application you download from the internet.
- Head to
localhost:3000/init
to create a game. Uid is a unique identifier for your game which will be used in the url. Contestant names is a list of names separated by commas. For the other three boxes, copy in the text from the files in the folderq_and_a
(or pass in your own text in the same format--open the file in Excel and edit it). - The pages
localhost:3000/game/{uid}/1?leader=true
andlocalhost:3000/game/{uid}/1
will automatically open replacing the{uid}
with the uid you chose. The leader page allows you to click between questions and change the display. The follower page automatically updates based on the actions taken in the leader.
The expected format for the Jeopardy and Double Jeopardy rounds is a CSV file.
Category1,Category2
Cat1Question1,Cat2Question2
Cat1Answer1,Cat2Answer1
Daily Doubles are questions prefixed by [DD]:
.
Links to image, audio, and video files are automatically detected by their file extensions. These create multi-part questions, where text is displayed before and/or after the media.
This app is intended to be used with the Korinna and "Swiss 921 BT" fonts. However, the font is not included as I do not have the right to distribute it. Backup fonts are defined in case you do not have the font installed.
Questions are included for demonstration purposes. These questions were written by myself (Barry McNamara) for a trivia game I ran with some friends using this app, which went rather well. They are fairly general and high-quality (if I do say so myself), but I make no guarantees that they are now or will remain accurate. Feel free to use this app and my questions for whatever you like, just credit me. If you have a good time, I'd love to hear about it.
Jeopardy on TV is a game of Answers and Questions i.e. the host says "The first USn President" and the contestant says "Who's Washington?" This app uses Questions and Answers terminology i.e. the strings called questions are displayed before the strings called answers. But there's no restrictions on the text, just "The first US President" would be the "question" and "Who's Washington" would be the "answer."
Use npm run dev
to host the app at localhost:3000
with live updating when you edit the frontend.