Skip to content

Ridima28/Guessing-game-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

🎯 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages