_ _
| | | | __ _ _ __ __ _ _ __ ___ __ _ _ __
| |_| |/ _` | '_ \ / _` | '_ ` _ \ / _` | '_ \
| _ | (_| | | | | (_| | | | | | | (_| | | | |
|_| |_|\__,_|_| |_|\__, |_| |_| |_|\__,_|_| |_|
|___/
How to play
Prewiew
Getting started
Hangman is a paper and pencil guessing game for two or more players. One player thinks of a word, phrase or sentence and the other(s) tries to guess it by suggesting letters or numbers, within a certain number of guesses. Source
here is how to install or play without installation
-
First you have to before other steps clone this reporitory with :
git clone https://github.com/TheSimpleWriter/Hangman.git
-
Then you have to go to graphical or console folder with:
cd Hangman/<folder>
- Install required modules with pip3 (package managment for python3):
pip3 install -r requirements.txt
- Run game with:
python3 main.py
- Install required modules with pip3 (package managment for python3):
pip3 install -r requirements.txt
- Than you can run app with:
fbs run
- or you can compile app with:
fbs freeze
- Install required modules with pip3 (package managment for python3):
pip3 install -r requirements.txt
- Run game with:
python3 main.py
- Compile game:
pyinstaller -F main.py
- Your app will be in
dist
folder, to rename output file run this
For Windows
rename dist/main.exe Hangman.exe
For Mac OS/Linux
mv dist/main dist/Hangman
- If you want to run this game from terminal/cmd(for windows) try this:
For Windows
- right click my computer
- click Properties
- click Advanced System Settings
- click Environment Variables
- In the bottom pane find Path, select it and click Edit
- after the last ;, add the full path to the folder containing Hangman.exe (in this case you must add C:\Program Files (x86)\Hangman\bin, also note the \ at the end)
For Linux
cp dist/main /usr/local/bin/hangman
ln -s /home/username/programs/bluegriffon/EXECUTABLE.sh /usr/local/bin/hangman
For MacOS
cp dist/main /usr/local/bin/hangman
- Install required modules with pip3 (package managment for python3):
pip3 install -r requirements.txt
- Than you can run app with:
fbs run
- and then you can compile app with:
fbs freeze
- To install you have to run:
fbs installer
- Follow fbs function instruction