Coders Packet

Hangman Game Using C++

By Neeraj Kumar Singhal

In this game, I used C++ language in which the player chooses a letter one by one, if the letter matches in the string it will continue else the player has to guess again until the limit reaches.

In this game, the computer chooses a word by a random function which has to guessed by the user. Use can guess a letter at a time. If he guesses the right letter, he has to continue otherwise he losses one attempt. 

We have defined the allowed number of strikes as 5.

The user has to choose a string from the given set.

["samosa", "kulche", "panipuri", "jalebi", "dhokla", "undhiyo","pizza", "burger", "aamras", "momo"]

For more information. Download the Project.

Download Complete Code


No comments yet