Skip to content

zisadlier/hangman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hangman

A C++ implementation of the classic guessing game, hangman. This version allows 6 incorrect guesses then the hangman is complete and the player loses.

Compiling and Playing

To compile into hangman.exe, run the following command:

g++ hangman.cpp GuessWord.cpp -o hangman

To run with the provided wordfile run:

./hangman words/long-words.txt

You can make your own word files too provided they are in the same format.

About

A simple C++ implementation of the classic hangman game. Good to look at for C++ basics.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages