Skip to content

Repository files navigation

Ironhack Logo

Mini Project #1: Hangman

Creating Hangman game for first Ironhack Mini Project (week 1)

Student Name:

Philène Moquette

Class:

Ironhack Amsterdam,
Data Analytics,
Feb 2020

Content

Project Description

I'm building a game of Hangman in Python. It lends itself well as a first project for a beginner, as there are many options for simplification (or making it more complex down the line).

Rules

The player has 10 turns to guess the letters of a secret word, which is chosen at random by the computer at the beginning of every game. The number of turns was chosen based on the amount of lines needed to draw the traditional hangman in the game. The player may choose to guess either one letter each turn or, if they’re feeling lucky, they can attempt to guess the whole word.
However:
If they guess the word wrong, it’s Game Over.
If the 10 turns run out before the player guesses the word, it’s Game Over.

If the player guesses the word correctly or guesses all letters before the 10 turns are over, they win!

Workflow

Step 1: Decided on the Hangman game out of a list of 8 possibilities.

Step 2: Created a Trello board (link below).

Step 3: Created a project repository to keep track of the project. Added a README file.

Step 4: Researched the game and found many different examples with varying winning-conditions and other elements.

Step 4: Chose which elements I would like to include in my version, such as:
Do I want to draw the hangman? (No.)
Do I want to give the player the option to guess the whole word if they so wish? (Yes.)
What are the consequences if they guess the wrong word? (Game Over.)
Do I want to add a turn counter? (Yes.)

Step 5: Pseudo-code/brainstorming

Step 6: Mix-and-match code from examples I found

Step 7: Learn from examples, tweak code to fit personal wishes, and research further to implement those wishes.

Step 8: Test game. Make, break, make, break.

Step 9: Present!

Organization

I planned my work using a Trello board.

The Repository contains:
A Jupyter Notebook of the Game program
.gitignore
README file with:
Screenshots of Trello board
Screenshots of Presentation

Links

Trello
Presentation
Source_1
Source_2
Source_3
Source_4
Words
Repository

About

Creating Hangman game for first Ironhack Mini Project (week 1)

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages