Skip to content

A simple number guessing game built with Python and KivyMD. The player has to guess a randomly chosen number between 1 and 20. After each guess, the app tells you if the correct number is higher or lower. You have only 3 tries to guess the number!

Notifications You must be signed in to change notification settings

WrackerTony/Number_Guessing_Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Number Guessing Game (KivyMD)

A simple number guessing game built with Python and KivyMD. The player has to guess a randomly chosen number between 1 and 20. After each guess, the app tells you if the correct number is higher or lower. You have only 3 tries to guess the number!

Features

  • Modern UI using KivyMD
  • Random number between 1 and 20
  • Input validation for numbers only
  • Feedback after each guess (higher/lower)
  • Game ends after 3 incorrect tries or a correct guess

Requirements

  • Python 3.7+
  • Kivy
  • KivyMD

Installation

  1. Install dependencies:
    pip install kivy kivymd
  2. Download or clone this repository.

Usage

Run the game with:

python main.py

How to Play

  1. Enter your guess (a number between 1 and 20) in the input field.
  2. Click the Guess button.
  3. The app will tell you if the correct number is higher or lower.
  4. You have 3 tries to guess the correct number.

Enjoy the game!

About

A simple number guessing game built with Python and KivyMD. The player has to guess a randomly chosen number between 1 and 20. After each guess, the app tells you if the correct number is higher or lower. You have only 3 tries to guess the number!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages