Skip to content

Latest commit

ย 

History

History
103 lines (68 loc) ยท 1.71 KB

File metadata and controls

103 lines (68 loc) ยท 1.71 KB

๐ŸŽฏ Guess The Number Game Collection

This repository contains two versions of the classic Guess The Number game built using Python:

  1. ๐Ÿ–ฅ๏ธ GUI Version using Tkinter
  2. ๐Ÿ’ป Console Version using basic Python

Both games challenge the player to guess a randomly generated number within limited attempts.


๐Ÿ–ฅ๏ธ GUI Version (Tkinter)

A modern graphical version of the game built using Python's Tkinter library.

โœจ Features

  • Welcome screen
  • Random number generation
  • 10 guessing attempts
  • High/Low hints
  • Input validation
  • Interactive buttons and labels

๐Ÿ› ๏ธ Technologies Used

  • Python 3
  • Tkinter
  • Random module

โ–ถ๏ธ Run GUI Version

python game-with-ui.py

๐Ÿ’ป Console Version

A simple terminal-based version of the game.

โœจ Features

  • Lightweight and beginner-friendly
  • Runs directly in terminal
  • Random number generation
  • Guess feedback system
  • Limited attempts

โ–ถ๏ธ Run Console Version

python game1-no-ui.py

๐Ÿ“‚ Project Structure

guess-the-number/
โ”‚
โ”œโ”€โ”€ game-with-ui.py
โ”œโ”€โ”€ game1-no-ui.py
โ””โ”€โ”€ README.md

๐ŸŽฎ How to Play

  1. Start the game
  2. Guess a number between 1 and 50
  3. The game will tell you if your guess is:
    • Too High ๐Ÿ“ˆ
    • Too Low ๐Ÿ“‰
  4. Guess correctly before your chances run out!

๐Ÿš€ Future Improvements

  • Add difficulty levels
  • Add restart option
  • Store high scores
  • Add timer mode
  • Add multiplayer support
  • Improve GUI animations

๐Ÿ‘จโ€๐Ÿ’ป Author

Made with Python for learning and practicing programming concepts and GUI development.


๐Ÿ“œ License

This project is open-source and free to use for educational purposes.