Made by @whyammehere, @cmaccarp, and @n-crespo
A primitive text-based hangman game coded in C++ and run in the command line.
To play hangman, first clone the repo by typing the following into a terminal (assuming you have git set up correctly):
git clone git@github.com:cmaccarp/hangman-cpp.gitThen cd into the hangman-cpp/ directory
cd hangman-cpp/If you are using Linux or WSL, make comes pre-installed, so just type the
following:
make
./hangmanGameIf you are on MacOS, you need to install make. See
this stack overflow thread,
make sure the command make works, then inside of the hangman-cpp/ directory,
simply type the following:
make
./hangmanGameIf you are on Windows, first install the chocolatey package manager with winget install chocolatey. Close and reopen the terminal for it to take effect. Then
type choco install make to install make. Reopen the terminal again. After
navigating to wherever you cloned the hangmanGame repository, type the
following:
make
./hangmanGame
