An open API service indexing awesome lists of open source software.

https://github.com/computationalcore/react-native-trivia-quiz

A simple trivia game built with React Native, Redux, and the Open Trivia Database.
https://github.com/computationalcore/react-native-trivia-quiz

open-trivia open-trivia-db-api opentdb opentdb-api react react-native react-native-app reactjs trivia trivia-game trivia-quiz trivia-quiz-game

Last synced: 4 months ago
JSON representation

A simple trivia game built with React Native, Redux, and the Open Trivia Database.

Awesome Lists containing this project

README

        

# React Native Trivia Quiz

A simple trivia game built with React Native, Redux, and the [Open Trivia Database](https://opentdb.com/).
![](https://github.com/computationalcore/react-native-trivia-quiz/raw/assets/app.gif)

## Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing
purposes.

### Prerequisites

The project can be built with npm or yarn, so choose one of the approach bellow in case you don't
have any installed on your system.

* Yarn is a package manager built by Facebook Team and seems to be faster than npm in general. [Download Yarn](https://yarnpkg.com/en/docs/install). (RECOMMENDED)

or

* npm is distributed with Node.js which means that when you download Node.js,
you automatically get npm installed on your computer. [Download Node.js](https://nodejs.org/en/download/)

### Installing

To download the project follow the instructions bellow

```
git clone https://github.com/computationalcore/react-native-trivia-quiz
cd react-native-trivia-quiz
```

Install dependencies and run with:

yarn
```
yarn install
yarn start
```
or

npm
```
npm install
npm start
```
## How to Play

- Open the app
- Click at "Play" button
- Select Quiz Options and click Start Quiz
- Answer each one of the questions in max 10 seconds per question
- When all questions are answered it shows the game over screen with total score and elapsed time

## Assets Credits

#### Animations

* [Loading Hamster](https://lottiefiles.com/2151-loading-hamster) by [Nabeel Shah](https://lottiefiles.com/nabeelshah7)

* [Connection error](https://lottiefiles.com/4386-connection-error) by [Lorena Villanueva García](https://lottiefiles.com/lorenavillanueva)

* [Checked Done](https://lottiefiles.com/433-checked-done) by [LottieFiles](https://lottiefiles.com/lottiefiles)

* [X Pop](https://lottiefiles.com/101-x-pop) by [LottieFiles](https://lottiefiles.com/lottiefiles)

* [Notification](https://lottiefiles.com/4284-notification) by [Changhyun Lee](https://lottiefiles.com/jony)

* [Crying](https://lottiefiles.com/823-crying) by [Rogger Tân](https://lottiefiles.com/leminhtanvus)

* [Trophy](https://lottiefiles.com/677-trophy by [Michael Harvey](https://lottiefiles.com/marvey)

* [Little Girl Jumping - Loader](https://lottiefiles.com/2144-little-girl-jumping-loader) by [Jignesh Gajjar](https://lottiefiles.com/jigneshgajjar)

#### Fonts

* [Saucer BB Font](https://www.1001fonts.com/saucer-bb-font.html) by [Blambot Comic Fonts](https://www.1001fonts.com/users/blambot/)

* [Grinched Font](https://www.1001fonts.com/grinched-font.html) by [Sharkshock](https://www.1001fonts.com/users/sharkshock/)

* [BadaBoom BB Font](https://www.1001fonts.com/badaboom-bb-font.html) by [Blambot Comic Fonts](https://www.1001fonts.com/users/blambot/)

#### Images
* [Faq free icon](https://www.flaticon.com/free-icon/faq_1580270) by [Freepik](https://www.flaticon.com/authors/freepik) from [www.flaticon.com](https://www.flaticon.com)

#### Sounds

* [Cartoon Oh-Oh](https://freesound.org/people/dersuperanton/sounds/435883/) by [dersuperanton](https://freesound.org/people/dersuperanton/)

* [Grinched Font](https://www.1001fonts.com/grinched-font.html) by [Sharkshock](https://www.1001fonts.com/users/sharkshock/)

* [success 2](https://freesound.org/people/Leszek_Szary/sounds/171670/) by [Leszek_Szary](https://freesound.org/people/Leszek_Szary/)

* [Bell, Counter, A.wav](https://freesound.org/people/InspectorJ/sounds/415510/) by [InspectorJ](https://freesound.org/people/InspectorJ/)

* [Sad Trombone.wav](https://freesound.org/people/Benboncan/sounds/73581/) by [Benboncan](https://freesound.org/people/Benboncan/)

* [Celebration](https://freesound.org/people/sonsdebarcelona/sounds/221937/) by [sonsdebarcelona](https://freesound.org/people/sonsdebarcelona/)

* [Jazzy Chords](https://freesound.org/people/NenadSimic/sounds/150879/) by [NenadSimic](https://freesound.org/people/NenadSimic/)
## Authors
Vin Busquet
* [https://github.com/computationalcore](https://github.com/computationalcore)

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details

## Changelog

For details, check out [CHANGELOG.md](CHANGELOG.md).

## Acknowledgments
* [Open Trivia DB](https://opentdb.com/)
* [Crowdbotics](https://www.crowdbotics.com/)