Skip to content

Guess The Number is a simple Android application that challenges users to guess a randomly generated number between 1 and 100.

Notifications You must be signed in to change notification settings

GalubaGSV/Guess-The-Number-Game

Repository files navigation

Guess-The-Number-Game

Description: Guess The Number is a simple Android application that challenges users to guess a randomly generated number between 1 and 100. The app features a user-friendly interface with three main screens: the start screen, the game screen, and the results screen

Key Features:

UI:

  • Start Screen:

    • Displayed upon launching the app.
    • Features a "Start Game" button to begin playing.
  • Game Screen:

    • Presented after tapping the "Start Game" button on the start screen.
    • Contains a text input field where the user can enter their guess.
    • Includes a "Submit" button to confirm their guess.
  • Results Screen:

    • Shown after the user has completed the game (guessed the number or ran out of attempts).
    • Displays a message indicating whether the user has won or lost the game.
    • Provides a "Play Again" button to start a new game.

Functionality:

  • Random Number Generation:

    • Utilizes the open API provided by Random.org to generate a random number between 1 and 100.
    • Ensures fairness and unpredictability of the generated numbers.
  • Guessing Mechanism:

    • Allows the user five attempts to guess the randomly generated number.
    • Provides feedback after each guess, indicating if the user's guess is too high or too low.
  • Error Handling:

    • Verifies the API response for errors and validates its adherence to the expected format.
    • Displays appropriate error messages or prompts users to retry if the API response is incorrect.

Overall, Guess The Number offers an enjoyable and challenging gaming experience where users can test their guessing skills against a cleverly generated random number. The integration of Random.org's API guarantees fairness and excitement in each playthrough.

🛠 Technologies 🛠

  • Kotlin
  • Android Studio
  • Retrofit
  • Coroutine
  • Databinding
  • MVVM architecture
  • XML
  • JSON
  • Gradle
  • Git, GitHub

About

Guess The Number is a simple Android application that challenges users to guess a randomly generated number between 1 and 100.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages