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.
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.
- You select two options from the list of available countries.
- You choose which one of this countries has the larger population.
- The game shows whether you answered correctly.
- If your answer was correct, the countries move one place up.
- After each round, there will be one new country to choose from.
- The game continues until you run out of available countries or you loose.
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)