Skip to content

hallelaz/Number-guessing-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Number Guessing Game – GUI Version

A graphical version of the classic number guessing game, built with Python and Tkinter.
The user must guess a randomly generated number between 1 and 20 using a simple window interface.

This project is an upgraded version of an earlier terminal-based assignment.


🎮 Features

  • Graphical user interface (GUI)
  • Guess a number between 1 and 20
  • Feedback system:
    • "Too small"
    • "Too big"
    • "You won"
  • Debug mode (reveals the hidden number)
  • Move mode – the number shifts slightly
  • New game button (resets the number)
  • Clean separation between game logic and user interface

🤖 AI Assistance

Parts of the GUI conversion were carried out with the assistance of ChatGPT 5, mainly for structural guidance.


▶️ How to Run

Make sure Python is installed on your computer.

Run the game using:

python main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages