/TriviaApp

Trivia App.

Primary LanguageSwift

GUESS THE FLAG - TriviaApp

Project in an app development course.
The app is a trivia game where the player needs to guess the country name of the flag.

App description:

The app contains two screens.
In the Home screen we can see the Top score which is saved and restored when opening the app.
Taping on START leads to the Game screen.
In the Game screen, we have:

  • a progress bar for the questions completed.
  • the number of the question and the total number of questions.
  • number of LIVES left.
  • the image with the flag.
  • the current score.
  • 4 answers.

A correct answer adds a point to the score. A wrong answer decreases the number of LIVES by one.
If there are no more LIVES to use or we reached the last question, a message appears letting us know if we beat the Top score or not.
If we did beat the Top score, when returning to the Home screen we will see it there.

The app uses Firebase Storage, which stores:

  • all the images.
  • a Json file with all the questions and answers.

App created with:

  • Xcode: Swift.