Skip to content

A word guessing game in the style of the traditional 'hangman' written in Python.

Notifications You must be signed in to change notification settings

odyssic/python-mystery-word

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mystery Word

Description

A Mystery Word Game to be Played in the terminal.

Rules

You will play against the computer. The computer will randomly select a word, and it will be up to you to guess it. t the start of the game, the computer will let you know how many letters the word contains. The computer will let you know whether your guess is correct or incorrect. You may guess one letter per round. You have a limit of 8 incorrect guesses, and then you lose. If you guess the word first, you win!

For example...

B _ _ B A _ D

Credit

This assignment was based off of a similar exercise in MIT's 6.00.1x course. It was undertaken using Python.

Installation and Play

  1. Clone the repository.
  2. Cd into the directory.
  3. Create virtual environment. Pipenv --Three
  4. Run virtual environment. Pipenv shell
  5. Run file ... Python3 word.py = {Python Version} file name

Enjoy!

About

A word guessing game in the style of the traditional 'hangman' written in Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%