An open API service indexing awesome lists of open source software.

https://github.com/cm0use/hangman

Hangman, no 3D or third-party libraries, just the standard functions provided by the compiler.
https://github.com/cm0use/hangman

cpp cpp-game cppgame hangman hangman-console hangman-cpp hangman-game hangmangame

Last synced: 8 months ago
JSON representation

Hangman, no 3D or third-party libraries, just the standard functions provided by the compiler.

Awesome Lists containing this project

README

          

Hangman




Windows
macOS
Linux



Guess the word letter by letter until you guess the whole word with n tries or the gentleman will meet a tragic end.


Features
Requirements
Compile & Run
Contributing
License

![20220412_062852](https://user-images.githubusercontent.com/102839710/163677389-85670d71-90bc-49b5-b2d4-5b02d3684fd7.gif)

## Features
* Easy to modify.
* Cross-Platform
- Windows, macOS and Linux.

## Requirements
* g++
* git (optional)

## Compile & Run
To **clone** and **compile** this game, you will need to have **git** and **g++** installed on your computer.

From your command line:

```bash
git clone https://github.com/CM0use/Hangman.git
cd Hangman
g++ -O2 -std=c++2a src/main.cpp src/Hangman.cpp -o hangman
```

Run on **macOS & Linux**:
```bash
./hangman
```

Run on **Windows**:
```cmd
hangman.exe
```

## Contributing
**Any contribution you make will be greatly appreciated.**

If you have any ideas/suggestions to improve the repository, make a fork of the repository and create a pull request.

You can also open the issue tracker to report any improvements or bugs.

## License
**Distributed under the GNU General Public License v3.0**

See accompanying file LICENSE

or copy at GNU General Public License