A CLI-based trivia game to demonstrate foundational JavaScript concepts, such as handling user input, managing program flow, working with arrays and objects, and building interactive terminal-based applications.
- Clone the repository:
git clone https://github.com/ProfPoak/CLITriviaBeast.git
cd CLITriviaBeast- Install dependencies:
npm installnode bin/index.jsMake the script executable:
chmod +x bin/index.jsLink the package globally:
npm linkThen run the game from anywhere:
TriviaBeast- Answer trivia questions within the time limit
- You have 10 seconds per question
- Get feedback on whether your answer is correct
- Your final score displays at the end
- Play as many rounds as you'd like
- 5 trivia questions with multiple choice answers
- Timed questions
- Total game time
- Score tracking