Science Genius is a mobile application built using React Native. It seeks to provide educational entertainment in the format of a multiple choice science trivia game.
Currently optimized for iPhone 8 but can be used on multiple mobile devices and web browsers.
Key features include:
- Using question-and-answer sets from the Open Trivia Database
- Home page with a "Start Game" button that initiates game play
- Diplaying randomized multiple choice questions one at a time until the question set has been exhausted
- Shuffling the order of the answer choices being displayed
- Indicating the question number the user is currently on
- Rewarding a point for each question answered correctly and indicating points accrued
- Calculating total points at the end of the game and displaying the user's final score
- Providing a button for the user to start the game again
- Design according to the science theme of the game
This mobile application has not been deployed to any app store, but can be run using other means such as Expo. Ensure you have Node.js, then you can install Expo CLI through your terminal:
npm install -g expo-cli
Open your terminal and go to a location where you wish to clone the project, then run:
git https://github.com/annamgithub/science-genius.git
cd science-genius
npm install
npm start
Expo will then open a window on your computer browser through which you will be able to direct to either view the device on iOS simulator, web browser, Android device/emulator, etc.
- Open Trivia Database API
- Mike Bostock's explanation of the Fisher-Yates Shuffle
- Selected inspiration and guidance from James Q Quick and Fahad A.
- Art was by Angel Paredes Aldrete; his work can be found on Pixabay.