Skip to content

Higher or lower is a game of guessing which of two selected countries has the larger population.

Notifications You must be signed in to change notification settings

AdamDawi/Higher-or-Lower-Game

Repository files navigation

Higher-or-Lower-Game

Higher or lower is a game of guessing which one of two selected countries has the larger population. Your goal is to achieve the highest score possible by choosing the right answers.

Getting Started

To start the game for the first time, when application opens, you need an internet connection. Otherwise the application will not connect to the API. The next games do not require the Internet because API data is saved in the cache. After the game ends with a result higher than zero, it is automatically saved to the leaderboard.

How to play

  1. You select two options from the list of available countries.
  2. You choose which one of this countries has the larger population.
  3. The game shows whether you answered correctly.
  4. If your answer was correct, the countries move one place up.
  5. After each round, there will be one new country to choose from.
  6. The game continues until you run out of available countries or you loose.

Technologies Used

The application is built using the following technologies:

  • Room database(SQLite database for storing leaderboard)
  • Android Studio
  • .xml files(layouts)
  • rest API(photos of flags, countries names and number of population)
  • retrofit2(fast http connection)
  • gson(converts json to other formats)
  • glide(loading images from the Internet)

Here are some pictures of the application:

menu2 game2

result2 leaderboard2

Game:

"Game"

About

Higher or lower is a game of guessing which of two selected countries has the larger population.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages