Overall, this code implements a React trivia quiz game that fetches questions from an API, displays them with randomized answer options, tracks user selections, awards points for correct answers, and indicates game completion with confetti animation and a "New Game" option.
- API: https://opentdb.com/
- Proposed by: scrimba
To get a local copy up and running follow these simple example steps.
- Check if Node.js is installed
node -v
If it is not installed, download and install it.
-
Clone the repo
git clone https://github.com/lalomax/quizzical-game.git
-
Open directory
cd quizzical-game
-
Install NPM packages
npm install
-
Run in development mode
npm run dev
- Setting options
- Multi-language Support
- Spanish
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
flowchart
A(1 Clone the repository) --> B((Clone Fork))
B --> C{2 Create Feature Branch}
C --> D[Make Changes]
D --> E((3 Commit Changes))
E --> F((4 Push Changes))
F --> G((5 Create Pull Request))
G -- Approved --> H((Merge Pull Request))
G -- Rejected --> D
Distributed under the MIT License. See LICENSE.txt
for more information.
Orlando - https://x.com/OrlandoFloresH - lalomax365.bo@gmail.com
Project Link: https://github.com/lalomax/quizzical-game
Use this space to list resources you find helpful and would like to give credit to. I've included a few of my favorites to kick things off!