Number Guessing Game in Kotlin using Jetpack Compose

This Android application is a straightforward number guessing game built with Kotlin and Jetpack Compose. In this game, players enter a number and receive feedback on whether their guess is correct, higher, or lower than the target number, which ranges from 1 to 1000. The game keeps track of the player's attempts and allows them to start a new game whenever they wish.

Team Members

  1. Nutchapon Kitkram (ID: 6410742156)
  2. Inthat Sriphao (ID: 6410742750)

Video Demo

You can watch a video demo of the game here. Video demo

Demo.mp4

Picture Demo

pic_demo

Requirements

โปรแกรมเกมมีความสามารถดังนี้:

  1. ป้อนจำนวนเพื่อทาย: ผู้เล่นสามารถป้อนจำนวนที่ต้องการทายในกล่องข้อความและกดปุ่มทายเพื่อเริ่มเกม.

  2. ระบบส่งข้อความ: ระบบจะส่งข้อความผลลัพธ์ให้กับผู้เล่นโดยระบุว่าทายถูก หรือว่าจำนวนที่ทายมากกว่าหรือน้อยกว่าจำนวนที่ถูก.

  3. การสิ้นสุดเกม: เกมจะสิ้นสุดเมื่อผู้เล่นทายถูกและจะแสดงจำนวนครั้งที่ผู้เล่นทายก่อนที่จะทายถูก.

  4. เริ่มเกมใหม่: ผู้เล่นสามารถเริ่มเกมใหม่ได้โดยกดปุ่มเริ่มเกมใหม่หลังจากทายถูก.

How to Play

  1. Launch the application on your Android device.
  2. Enter a number in the text input field.
  3. Press the "Guess" button to make your guess.
  4. The app will provide feedback on your guess.
  5. Keep guessing until you guess the correct number.
  6. The app will display the number of attempts it took to guess correctly.
  7. You can start a new game by pressing the "New Game" button.

Have fun playing the Number Guessing Game!