- What is Hangman?(Ctrl + click) the link
- Does this work on Linux?
- Sadly no, due to libraries used in the code.
- Does this work on Windows
- Yes, below instructions are provided.
- Download zip to Downloads
- Unzip Hangman-master
- right-click & extract here
- gcc/g++ Compilers (used to compile and play)(Ctrl + click) the link
- run & install
- Video on how to install the compilers Compiler Installation Tutorial(Ctrl + click) the link
- If you have installed them once, you don't need to again
- Press together:
Win + R
- type & enter:
cmd
- type & enter:
cd Downloads
to change directory to your Downloads - type & enter:
cd Hangman-master
- type & enter:
g++ main.cpp -o run
- Read
How to play
before playing - type & enter:
run
- Input:
- To guess a letter, press the key corrosponding to the letter
- enter is not needed
- '~' to exit gracefully
- To guess a letter, press the key corrosponding to the letter
- Rules:
- If you guess right
- The letter fills in the _
- If you guess wrong
- You will lose a health point
- If you lose all your health
- You lose
- If you guess right