Skip to content

๐Ÿงฉ A simple yet fun Hangman game built in C++ using functions. Practice modular programming, loops, and logic while guessing words before the man hangs!

Notifications You must be signed in to change notification settings

Kayzm18/Hangman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ Hangman โ€“ C++ Edition

A fun command-line version of the classic Hangman game, written in C++ using functions for clean structure and easy modification.


๐Ÿ” Table of Contents


๐Ÿง  About

This project is a straightforward implementation of Hangman using C++ functions to handle game setup, input processing, display logic, and win/loss detection. Itโ€™s a great way to practice procedural programming and modular design.


โœ… Features

  • Select a random word from a predefined list
  • Display placeholders for letters and update as correct guesses are made
  • Track number of wrong guesses and visualize the โ€œhangmanโ€ progress
  • Handle invalid input, repeated guesses, & game-end conditions
  • Simple and clear console UI โ€” easy to extend

๐Ÿš€ Tech Stack

C++
GitHub


๐Ÿ›  Getting Started

Clone the repo and compile the code:

git clone https://github.com/Kayzm18/Hangman.git
cd Hangman
g++ -std=c++17 Hangman01.cpp -o Hangman

About

๐Ÿงฉ A simple yet fun Hangman game built in C++ using functions. Practice modular programming, loops, and logic while guessing words before the man hangs!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages