A stunning, colorful, command-line Hangman game built entirely in C++.
Clean structure. Beautiful visuals. Modular design. Easy to understand. Hard to forget.
Hangman (C++ Edition) is a console-based word-guessing game featuring:
- 🌈 Vibrant ANSI Color Interface
- 🧩 Beginner-friendly logic
- 🗂️ Professional folder structure
- 🎯 Modular and expandable design
- 📝 Custom words support
- 🏆 Highscore tracking
- ⚙️ Difficulty settings
- 🎮 Smooth gameplay flow
This project is perfect for students, team assignments, and anyone learning C++ basics, file structure, and modular programming.
/project-root │ ├── include/ │ ├── Menu.h │ ├── InGame.h │ ├── Options.h │ ├── Difficulty.h │ ├── CustomWordsSetting.h │ ├── Highscore.h │ ├── FinalResult.h │ ├── StartOfGame.h │ └── Game.h │ ├── src/ │ ├── Menu.cpp │ ├── InGame.cpp │ ├── Options.cpp │ ├── Difficulty.cpp │ ├── CustomWordsSetting.cpp │ ├── Highscore.cpp │ ├── FinalResult.cpp │ ├── StartOfGame.cpp │ └── Game.cpp │ └── main.cpp
💻 𝐒𝐨𝐟𝐭𝐰𝐚𝐫𝐞𝐬 𝐚𝐧𝐝 𝐏𝐫𝐨𝐠𝐫𝐚𝐦𝐦𝐞𝐬 𝐰𝐞 𝐮𝐬𝐞𝐝 :
| Name | Role | Grade |
|---|---|---|
| Hristiyan Mihaylov | Scrum Trainer | 🟩 9V |
| Yanislav Todorov | Backend Developer | 🟦 9G |
| Georgi Gakev | Frontend Developer | 🟩 9V |
- HTML / CSS / JavaScript
- Backend технология (примерно: Node.js, Python, PHP)
- Git & GitHub
git clone https://github.com/username/repo-name.git cd repo-name
Uses ANSI escape codes for:
- Bright colors
- Bold text
- Modern text-based UI
- Clean animated transitions
- Random word selection
- Limited attempts
- Hangman drawing stages
- Win/Lose mechanics
- Saves names and scores
- Displays top players
- Beginner-friendly file I/O
- Add your own words
- Save to file
- Play with friends' word lists!
- Easy / Medium / Hard
- Adjust guesses and word complexity
This project is designed with collaboration in mind:
✔ Clear separation of code
✔ Easy division of tasks
✔ Perfect for GitHub commits
✔ Great for school project grading
By completing this project, team members practice:
- C++ basics & syntax
- Header & source file structure
- Loops, strings, input handling
- File input/output (I/O)
- Modular programming
- Version control (Git & GitHub)
- Multiplayer mode
- Animated hangman using ASCII frames
- Word categories (animals, movies, food)
- More polished UI with borders & transitions
This Hangman game is more than a school project —
it’s a beautifully structured, fun, and professional introduction to real C++ development.
Enjoy playing. Enjoy coding. Enjoy learning.
🎉 Good luck, and may you guess the word in time! 🎉