A MINI PROJECT REPORT
HANGMAN GAME
BACHELOR OF SCIENCE IN INFORMATION TECHNOLOGY
Submitted By
VIJAYASHREE.S
(Reg. No. 2326J1709)
Under the Guidance of
Dr.S.GANESHMOORTHY, MCA.,M.Phil.,Ph.D.,MBA.,
ASSISTANT PROFESSOR
DEPARTMENT OF INFORMATION TECHNOLOGY
OCTOBER 2024
CERTIFICATE
CERTIFICATE
This is to certify that the Mini Project entitled “HANGMAN GAME” is the
bonafide record of Mini Project work done by Vijayashree S, Reg. No: 2336J1709
of II BSc IT A of Information Technology during the academic year 2024-2025 of
her study in the Department of Information Technology, Sri Krishna Adithya
College of Arts and Science, Coimbatore.
SIGNATURE OF THE GUIDE SIGNATURE OF THE HOD
PROJECT HEAD
DEAN-RESEARCH PRINCIPAL
Submitted for the Mini Project Viva-Voce Examination held on ___________
EXAMINER
DECLARATION
DECLARATION
I, Vijayashree S hereby declare that the Mini Project work, entitled
“HANGMAN”, submitted to the Sri Krishna Adithya College of Arts and Science,
in partial fulfilment of the requirements for the award of the Degree of
BACHELOR OF SCIENCE IN INFORMATION TECHNOLOGY, is a record
of original research work done by me during the period 2024-2025. This Mini Project
is the original work carried out by me and it is not a part of any other Mini
Project/Project work.
Place: Coimbatore Signature of the Candidate
Date: ( VIJAYASHREE S)
ACKNOWLEDGEMENT
ACKNOWLEDGEMENT
I first and foremost thank the almighty for having bestowed his blessings on me to complete
the mini project.
I am indebted to our beloved Principal Dr.S.Palaniammal, M.Sc., M.Phil., Ph.D., Sri
Krishna Adithya College of Arts and Science, Coimbatore for her support and encouragement.
I wish to express my gratitude to the respected Dr.K.Chitra, M.Sc., MBA., M.Phil.,
Ph.D., Dean-Research, Sri Krishna Adithya College of Arts and Science, Coimbatore for
supporting me to complete this mini project work.
I deep sense of gratitude to the respected Dr.K.Geetha, MSc., M.Phil., Ph.D., Dean of
Computer Science and Dr.B.P.Sreejith Vignesh, MSc.,MBA.,MCA.,M.Phil.,B.Ed.,Ph.D.,
Head, Department of Information Technology, Sri Krishna Adithya College of Arts and Science,
Coimbatore for their encouragement and support for the successful completion of this mini project.
I would like to convey my sincere gratitude to Dr.D.Shanmuga Priyaa
MCA.,M.Phil.,Ph.D., Assistant Professor Department of Computer Science and Project Head, Sri
Krishna Adithya College of Arts and Science, Coimbatore for her encouragement and support for
the successful completion of this mini project.
I thank my project guide Dr.S.Ganeshmoorthy, M.C.A., M.Phil., Ph.D., MBA.,
Assistant Professor, Department of Information Technology, Sri Krishna Adithya College of Arts
and Science, Coimbatore for his/her timely advice and guidelines which assisted me in completing
the mini project work successfully.
My sincere thanks and gratitude to all the faculty members of Department of Information
Technology, Sri Krishna Adithya College of Arts and Science, Coimbatore for their
encouragement and support for the successful completion of this mini project.
My special thanks to my Parents, Friends and Well-wishers for their moral support
throughout the mini project work period.
VIJAYASHREE.S
TABLE OF CONTENT
CHAPTER PARTICULARS PAGE
CERTIFICATE
DECLARATION
ACKNOWLEDGEMENT
SYNOPSIS
1 INTRODUCTION
1.1 About the Project
2 REVIEW OF LITRATURE
2.1 Existing System
2.2 Limitation Of Existing System
3 SYSTEM STUDY
3.1 Proposed System
3.2 Advantages of Proposed System
4 SYSTEM ANALYSIS
4.1 Module Description
4.2 DFD Diagrams
4.3 Requirements Specification
5 SYSTEM DESIGN
5.1 Input Design
5.2 Output Design
5.3 Database Design
5.4 Form Design
6 CONCLUSION AND FUTURE ENHANCEMENTS
6.1 Conclusion
6.2 Future Enhancements
7 APPENDIX
7.1 Sample Coding
7.2 Sample Output
7.3 Bibliography
CHAPTER-1
1.INTRODUCTION
1.1 About the Project
The Hangman Game is a word-guessing game that has been a favorite among players for
generations due to its simple yet engaging gameplay. In this game, a player must guess a hidden
word by suggesting letters. For every incorrect guess, a part of a hangman figure is drawn. The
player wins if they correctly guess the word before the entire hangman is drawn, and they lose if
the figure is completed before the word is revealed.
In today’s world of advanced web technologies, there is a growing need to modernize
classic games like Hangman to provide better accessibility, engagement, and user interaction. This
project takes the traditional Hangman game and transforms it into a web-based application
designed with modern web development tools, including HTML, CSS, JavaScript, and Node.js.
The goal is to provide an intuitive, interactive, and responsive version of the game that can
be accessed across various devices, including desktops, tablets, and mobile phones. The project
places an emphasis on improving user experience by incorporating real-time feedback, sleek user
interface (UI) designs, and faster back-end processing.
1.2 Objective of the Project
The objective of the project:
Engagement: To create a web-based Hangman game that enhances the classic gameplay
with modern interactive elements. The game will feature real-time feedback, such as
immediate indication of correct or incorrect guesses, to keep players engaged throughout
their experience.
Speed and Performance: To leverage advanced web technologies to ensure fast load
times, reduce latency, and provide smooth transitions between different game states.
Mobile-Responsive Design: To ensure that the game is accessible across all devices and
screen sizes. This mobile responsiveness will allow users to play the game from any
location, on any device, without sacrificing usability or experience.
CHAPTER-2
2.REVIEW OF LITERATURE
2.1 Existing System
Existing versions of the Hangman game are typically available as desktop-based
applications or simple online versions with outdated interfaces. These systems have limitations in
terms of accessibility and functionality. They are generally not optimized for modern web
environments, especially mobile devices, and fail to provide the level of engagement that modern
users expect.
Many of the existing systems have been developed using older technology stacks, leading
to slow load times and poor performance, particularly when a large number of users are playing
simultaneously. These versions also lack real-time feedback, which is essential for creating a more
immersive gaming experience. As a result, user engagement tends to be low, and these systems
are not scalable to support more users or more complex interactions.
2.2 Limitations of Existing Systems
Lack of Mobile Accessibility: Desktop-based games are often not optimized for mobile
devices, limiting their accessibility for users who prefer to play on the go.
Outdated UI/UX: The user interfaces of many older Hangman games do not meet modern
design standards, making them visually unappealing and less engaging.
Slow Performance: Outdated technology stacks lead to longer loading times and delays
in gameplay, which frustrates users and decreases retention.
No Real-Time Feedback: Many systems fail to provide immediate feedback on guesses,
causing a disjointed user experience where the results of actions are delayed.
Scalability Issues: Older versions are not equipped to handle a large number of users or
increased traffic, leading to server overloads and reduced performance during peak times.
CHAPTER-3
3.SYSTEM STUDY
3.1 Proposed System
The proposed system solves the limitations of existing Hangman games by adopting a
modern web development approach. This system introduces a fully responsive and interactive user
interface (UI), real-time feedback, and fast server-side processing, making the game not only more
engaging but also accessible from any device, whether a desktop, tablet, or smartphone.
Key components include a streamlined back-end using Node.js, which ensures that the
game can handle user interactions in real time. The use of JavaScript for game logic enables
smooth gameplay, while the UI, built using HTML and CSS, offers a clean, modern, and
responsive design that adapts to various screen sizes.
3.2 Advantages of the Proposed System
Real-Time Interactions: Players will instantly know whether their guesses are correct or
incorrect, providing an engaging and dynamic gameplay experience. This eliminates the
waiting time between actions and keeps the player involved throughout the game.
Improved Accessibility: By making the game available on both desktop and mobile
devices, the proposed system ensures that users can access the game anywhere and
anytime.
Modern UI/UX: The system features a modern, responsive design that enhances user
engagement. The clean and intuitive interface makes the game enjoyable to play and easy
to navigate.
Efficient Performance: The integration of Node.js ensures quick and efficient server-side
operations, allowing for faster data handling and reduced load times, even when handling
multiple simultaneous users.
Mobile-Responsive Design: The user interface has been designed to adapt to various
device screen sizes, from small mobile phones to large desktop screens. This ensures a
consistent experience regardless of the device being used.
Scalability: With Node.js as the back-end framework, the system is scalable and can
support many users concurrently without compromising performance.
CHAPTER-4
4.SYSTEM ANALYSIS
4.1 Module Description
The system is divided into four main modules:
1. User Interface Module: This module handles the design and layout of the game using
HTML and CSS. The layout is responsive, making it accessible on both desktop and mobile
devices.
2. Game Logic Module: This module manages the game mechanics—word selection, user
guesses, and the display of the hangman graphic. JavaScript is used to control the game
flow.
3. Back-end Module: Responsible for managing server-side processes such as session
handling and data storage. Node.js ensures quick data processing and real-time feedback.
4. Database Module: This module stores words used in the game, tracks user progress, and
saves high scores. A database like MongoDB or MySQL is used to manage game-related
data.
4.2 DFD (Data Flow Diagrams)
Level 0 DFD: Provides a high-level view of the data flow between the user interface, game
logic, and back-end modules.
Level 1 DFD: A more detailed view showing the interactions between the UI, game logic, back-
end processing, and database. This DFD demonstrates how data moves during gameplay, from
when a player inputs a guess to when the game processes the result and updates the hangman
figure.
4.3 Requirements Specifications
Functional Requirements:
1. The system must allow users to guess a word within a limited number of attempts.
2. It must provide real-time feedback on each guess.
3. The game should track and display incorrect guesses through an updated hangman graphic.
4. It should maintain and display user scores, high scores, and a leaderboard.
Non-Functional Requirements:
1. The game must load within 2 seconds.
2. The system should be scalable enough to support at least 100 concurrent users.
3. The system must be responsive and work seamlessly across all device types.
CHAPTER-5
5.SYSTEM DESIGN
5.1 Input Design
User Input: Players will use either their physical keyboard (on desktop) or a virtual on-
screen keyboard (on mobile devices) to input their guesses. Input validation ensures that
only letters are accepted and that each letter guess is processed accurately.
5.2 Output Design
Feedback: The system provides real-time feedback based on user guesses. If the guess is
correct, the corresponding letter in the word is revealed; if incorrect, the hangman figure is
updated, and the number of remaining guesses is reduced.
5.3 Database Design
Word Storage: The system stores words in a database, categorized by difficulty level (e.g.,
easy, medium, hard). Each game session selects a word randomly from the database,
ensuring variety in gameplay.
Player Data The system tracks player progress, such as scores, the number of games played,
and high scores. This data is stored in the database and can be retrieved to display player
statistics or populate leaderboards.
5.4 Form Design
User Registration/Login: If applicable, include a user registration and login system that
captures basic user information.
Game Forms: In-game forms include input fields for submitting guesses.
CHAPTER-6
6.CONCLUSION AND FUTURE ENHANCEMENTS
6.1 Conclusion
This project has successfully developed a modern, web-based version of the Hangman
game, addressing the shortcomings of older versions with a mobile-responsive design, real-time
feedback, and efficient server-side processing. By using Node.js on the back-end, the system
ensures fast and scalable performance. The HTML, CSS, and JavaScript front-end provides a
visually appealing and interactive user interface, making the game more engaging and accessible.
6.2 Future Enhancements
Multiplayer Mode: One possible future enhancement is to introduce multiplayer
functionality, allowing players to compete with each other in real-time. This could include
a mode where users take turns guessing words or a competitive mode where players race
to solve the word first.
Advanced UI Elements: Future iterations of the game could include more advanced
animations and visual effects to further enhance the user experience. For example, dynamic
transitions, sound effects, and celebratory animations when the user guesses the word
correctly could add to the game's appeal.
Mobile Application: While the current version is mobile-responsive, a dedicated mobile
app for iOS and Android could be developed, providing users with a native gaming
experience and additional features like push notifications or offline gameplay.
Leaderboard and Achievements: Implementing a global leaderboard where players can
compare their scores against others could boost engagement. Additionally, players could
earn achievements based on their performance, such as "First Win" or "10 Wins in a Row."
Voice Recognition: For an even more interactive experience, the game could integrate
voice recognition, allowing players to make their guesses by speaking rather than typing.
CHAPTER-7
7.APPENDIX
7.1 Sample Coding
HTML/CSS for the front-end design.
7.3 BIB
JavaScript for game logic and real-time feedback.
Node.js code for server-side processing.
7.2 Sample Output
Initial Screen: Before the user starts the game.
Gameplay: Display the game in progress with correct and incorrect guesses.
Endgame: Show the final screen after the player either wins or loses.
7.3 Bibliography
1. https://www.scribd.com/document/641833106/Mini-Project-Hangman-Game
2. https://www.researchgate.net/publication/354322962_Hangman_Word_Game
3. https://github.com/Aakash-Dogra/Game-of-Hangman/blob/master/Final%20Report.pdf