Skip to content

bufferjjh/QuesGen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QuesGen

This is the source code for QuesGen, a fast-paced multiplayer 🏃 trivia/study game backed by the power of AI💪

We built QuesGen using Node.js (Socket.io⚡), HTML, and CSS. Our inspiration came from many trivia questions being boring and having only one answer. We realized that with the power of large language models, we could construct an automatic system to judge answers to much more open-ended questions.

We quickly figured out that these types of trivia questions would be great in STEM education📚, and we elicited Chain-of-Thought reasoning in GPT-4o to generate a set of relatively open-ended questions in the fields of Mathematics🔢, Computer Science💻, Physics💻, Biology🧬, and more! We even support users uploading their own notes so we can generate questions to use in the game!

Now the fun part! Gamifying the process 🎮! Multiple players are placed in a room and are repeatedly cycled through by being asked questions. Each player has 3 lives, and if a player fails to produce a satisfactory response as determined by the LLM in the allotted time, the player loses a life. Once a player loses all lives, they are eliminated from the game. Speed and accuracy are crucial to victory in QuesGen. The last player standing wins the game.

User responses were reviewed with the GPT-4 API, where we use Chain-of-Thought reasoning to more accurately evaluate a response for correctness.

QuesGen.HackGT11.Demo.Video.mp4

About

Project for HackGT11!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 48.7%
  • HTML 26.5%
  • CSS 24.8%