Skip to content

A trivia game app with true / false answers, created with Expo (React Native) and TypeScript. It uses React Navigation and Context API as state manager.

Notifications You must be signed in to change notification settings

salvariable/g2iTrivia

Repository files navigation

G2i's Trivia Game

Summary

A mobile app to play a 10-question game where the player has to determine if the answer is true or false. Once finished, correct and wrong answers are presented with the total score. User can press "Play again" to restart the game with new questions.

Stack

  • Expo (React Native)
  • React Navigation
  • TypeScript

Structure

project
│   README.md
│   App.tsx
│
└───api
│   │   ContextProvider.tsx
│
└───assets
│   │   right.png
│   │   wrong.png
│
└───components
│   │   BooleanButton.tsx
│   │   QuestionLayout.tsx
│
└───screens
│   │   Home.tsx
│   │   Quiz.tsx
│   │   Results.tsx
│
└───types
    │   objects.ts

About

A trivia game app with true / false answers, created with Expo (React Native) and TypeScript. It uses React Navigation and Context API as state manager.

Resources

Stars

Watchers

Forks