quiz-game Tailwind Templates

Quiz Game

馃幆 Quiz/trivia game with AI generated questions, made with tailwind and the Cohere API in NextJS.

Instagram

馃煡馃煢 Quizi 馃煥馃煩

A quiz/trivia game with different modes and categories that you can select, as well as wildcards to help you. The questions are generated by artificial intelligence using the Cohere API.

View DemoReport BugRequest Feature

Table of contents

About The Project

Quizi is a quiz/trivia game made with with Cohere. You can select different game modes and topics, you also have wildcards. Cohere's AI will generate the questions and answers for you.

Note: Due to Cohere's policy change (from 100 to 5 free calls) now only some questions are generated by Cohere. The rest are pre-generated.

猬嗭笍 Back to top

Screenshots

猬嗭笍 Back to top

Built With

List of the frameworks, libraries and tools used to build the project.

猬嗭笍 Back to top

Getting Started

  1. Clone or fork the repo
    git clone https://github.com/cosmoart/quiz-game
    
  2. Change directory to source_code
    cd source_code
    
  3. Install NPM packages
    npm install
    
  4. Run the project
    npm run dev
    

If you are in development environment all the questions are pre-generated, if you want to use the Cohere API you have to create a .env.local file with the Cohere API key at source_code and comment the if in source_code/src/helpers/getQuestions.js. You can get one Cohere Api key here.

The .env.local file should look like this:

COHERE_API_KEY=XXXXXXXXXXXXXXXXXX

猬嗭笍 Back to top

License

Distributed under the MIT License. See LICENSE.txt for more information.

猬嗭笍 Back to top

Roadmap

  • Circle wipe transition
  • Add offline mode
  • Buttons sounds
  • Win and Lose sounds
  • Multi-language Support
  • PWA
  • Personalize the game over screen for infinite mode
  • Personalize error page for API limit exceeded

猬嗭笍 Back to top

Contact

猬嗭笍 Back to top

Top categories

Loading Svelte Themes