项目作者: DariusRuksenas

项目描述 :
Python Hangman Game
高级语言: Python
项目地址: git://github.com/DariusRuksenas/python_hangman_game.git
创建时间: 2019-03-22T21:36:38Z
项目社区:https://github.com/DariusRuksenas/python_hangman_game

开源协议:

下载


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.

Clone a repository

Get a copy of the python_hangman_game repository.

Clone over HTTPS:

  1. $ git clone https://github.com/DariusRuksenas/python_hangman_game.git

Clone over SSH:

  1. $ git clone git@github.com:DariusRuksenas/python_hangman_game.git

Start the game

The project uses the command line for user interaction.

To run the game, in command line run hangman_game.py.

  1. python3 hangman_game.py

Confirm your Python version

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:

  1. $ python --version
  2. 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.

Install Python 3

To install the latest version of Python, run the following command:

  1. $ brew install python3

Now let’s confirm which version was installed:

  1. $ python3 --version
  2. Python 3.7.1

License

This project is licensed under the MIT License - see the LICENSE.md file for details# python_hangman_game