Python Hangman Game
Vilnius school of AI final project: Hangman Game.
Hangman Game written in python.
In Hangman, you guess a word letter-by-letter. There is a maximum of six wrong guesses. Each wrong guess will incrementally draw a figure of a man being hung.
Get a copy of the python_hangman_game
repository.
Clone over HTTPS:
$ git clone https://github.com/DariusRuksenas/python_hangman_game.git
Clone over SSH:
$ git clone git@github.com:DariusRuksenas/python_hangman_game.git
The project uses the command line for user interaction.
To run the game, in command line run hangman_game.py
.
python3 hangman_game.py
Python 2 is installed by default on Apple computers, Python 3 is not. You can confirm this by typing in Terminal python --version
and hitting Enter
:
$ python --version
Python 2.7.15
To check if Python 3 is already installed try running the command python3 --version
. Most likely you’ll see an error message.
To install the latest version of Python, run the following command:
$ brew install python3
Now let’s confirm which version was installed:
$ python3 --version
Python 3.7.1
This project is licensed under the MIT License - see the LICENSE.md file for details# python_hangman_game