Welcome to the Who Wants to Be a Millionaire game! This project is a fully interactive quiz game where players answer a series of 12 questions to test their knowledge and climb the prize ladder. DEMO LINK
- Players take turns answering one of the 12 questions presented to them
- Each question offers between 4 and 6 possible answers, with one or more correct answers.
- If the player selects the correct answer(s), they advance to the next question.
- If the player selects an incorrect answer, the game ends, and they are taken to the final screen displaying their results.
This game provides extensive customization options, allowing you to tailor the experience to your liking:
- Modify Questions: Update the existing questions or add new ones to keep the game fresh.
- Customize Answer Options: Adjust the number of answer choices (between 4 and 6) and the possible answers for each question.
- Set Cash Prizes: Define the cash prize associated with each correct answer to increase the stakes.
- Flexible Answer Configurations: Specify how many answers are correct for each question, offering a varied challenge for players.
Refer to data/questions.json
and stages.json
and customize needed fields.
- Node v20.12.2
- Next v14.2.5
- Typescript
- clsx
- Jest
- ESLint (airbnb config)
- Lint-staged
- Husky
- Fork and clone this repository
- Use proper Node version (originally v20.12.2)
npm install
npm run dev
- Open http://localhost:3000 with your browser to see the result.
For any contribution or problem solving you could find me here Telegram and here LinkedIn.