0% found this document useful (0 votes)
7 views17 pages

Python Tkinter Number Guessing Game

The document outlines a project report for a Python-based Ultimate Guessing Game developed using Tkinter, featuring both Number and Word Guessing modes with multiple difficulty levels. It details the project's objectives, system requirements, design, features, team contributions, challenges faced, and the final output, emphasizing collaborative efforts and modularity for future enhancements. The game is designed to be user-friendly with a visually appealing interface and includes a history tracking system for player performance.

Uploaded by

lenovotpadw540
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views17 pages

Python Tkinter Number Guessing Game

The document outlines a project report for a Python-based Ultimate Guessing Game developed using Tkinter, featuring both Number and Word Guessing modes with multiple difficulty levels. It details the project's objectives, system requirements, design, features, team contributions, challenges faced, and the final output, emphasizing collaborative efforts and modularity for future enhancements. The game is designed to be user-friendly with a visually appealing interface and includes a history tracking system for player performance.

Uploaded by

lenovotpadw540
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Python project using GUI

and modules

Guessing
Game
PROJECT REPORT
Number Guessing Game Using Python Tkinter

Submitted by:
Members Roll No. Course Role

Basic logic and


Computer Science
Junaid 24/45007 Presentation
(Prog.)
making

Coding and
Computer Science
Harsh Dutt 24/45064 Presentation
(Prog.)
making

Computer Science Coding and Testing


Nishant 24/45087
(Prog.)

Computer Science Building logic and


Ayush Garada 24/450
(Prog.) Testing

Submitted to :
Dr. Rashmi Yadav
XZYZ department
Atma Ram Sanatan Dharma College
 INTRODUCTION
The Ultimate Guessing Game is a GUI-based Python project that aims to provide
an entertaining and interactive user experience. The application offers two main
game modes: Number Guessing and Word Guessing. Each mode features
several difficulty levels and categories. Our main goal was to create a user-
friendly, visually appealing, and logically sound game that uses python’s tkinter
library. The game also has a history tracking system that records player’s
performance, including attempts and win/lose status. This project shows our
grasp of event-driven programming, modular code structure, GUI design, and
basic game logic.

 PROJECT OBJECTIVES
 To create an interactive GUI using Tkinter.
 To design two playable game modes:

 Number Guessing Game


 Word Guessing Game

 To provide difficulty levels, hints, and feedback during gameplay.


 To allow users to view game history.
 To maintain modularity and readability in the code structure.
 To promote teamwork and collaborative software development skills.

 SYSTEM REQUIREMENTS
Python 3.18 Programming language
Tkinter GUI Development Framework
Date and Time Module Time Tracking for each match
Generating secret number s random
Random Module
hints
JSON Structure support for data
Messagebox For Notification
 SYSTEM DESIGN
The System follows a single-window GUI structure where screens change but
the root window remains constant. The core components include:

 Main Menu
 Number Game Menu s Gameplay UI
 Word Game Menu s Gameplay UI
 History Viewer

All UI elements (buttons, labels, frames, etc.) are dynamically created and
destroyed using the clear_screen() method.

 FEATURES
Number Guessing Game
 Multiple difficulty modes (Easy, Medium, Hard, Expert).
 Automatic secret number generation.
 Input validation for incorrect entries.
 Hints such as:
 Even/Odd clue
 Range clue
 Digit sum
 Attempt tracking and feedback system.
 Win/Lose pop-up summary.
Word Guessing Game
 Categories such as Animals, Countries, Technology, Food, and Sports.
 Random word selection per category.
 Letter guessing system with validation.
 Tracking wrong guesses and used letters.
 Two optional hints revealing random letters.
 Victory and fail messages with stats.
Game History Tracking

 Logs:
 Game type
 Win/Lose result
 Attempts used
 Timestamp
 Displays last 10 game records in a separate window.
User Interface (UI)
 Custom color theme resembling modern dark UI.
 Clear fonts and styled buttons.
 Accessible button sizes and spacing.

 TEAM MEMBER CONTRIBUTIONS


1. Presentation Making by Junaid and Harsh dutt
2. Coding/Programming and GUI corrections by Nishant and Harsh dutt
3. Building logic in Program by Ayus garada and Junaid
4. Testing and Debugging by Nishant and Ayush garada
And, we members helped in eachother’s works so that the program can run
smoothly .

 CHALLENGES FACED
During development, the team encountered several issues:

 Managing multiple screens within the same Tkinter window required careful
widget cleanup.
 Handling duplicate guesses and providing correct feedback logic caused
some confusion in early versions.
 A minor “plague” bug appeared where the wrong letter display didn’t
refresh—this was fixed later.
 Balancing the UI layout across different screen sizes took some extra effort.
 Some Title mismatch and level errors
 FINAL OUTPUT
The final program is enjoyable guessing game with attractive UI, functional
logic, history tracking, and smooth gameplay [Link] modularity allows
for future expansion, such as adding:
 Online leaderboard,
 Theme customization,
 More new categories,
 Sound effects
 CONCLUSION
The Ultimate Guessing Game successfully fulfills its intended purpose of
combining learning and entertainment. The project strengthened our
understanding of Tkinter, event handling, GUI design, and cooperative coding.

This was a collaborative effort, and each member’s contribution brought the
game to its complete and functional form. The game is stable, user-friendly, and
ready for presentation.

 REFERENCES
 Python Documentation:
[Link]
 TutorialsPoint: Python GUI Programming
 W3Schools Python Tkinter Tutorial

 PROJECT’S GITHUB LINK


..\Downloads\[Link]
OUTPUTS:-
SIGNATURES:

Junaid Harsh Dutt Nishant Ayush Garada

You might also like