7DESIGNING HANGMAN WITH FLOWCHARTS

image

In this chapter, you’ll design a Hangman game. This game is more complicated than our previous games but also more fun. Because the game is advanced, we’ll first carefully plan it out by creating a flowchart in this chapter. In Chapter 8, we’ll actually write the code for Hangman.

How to Play Hangman

Hangman is a game for two people in which one player thinks of a word and then draws a blank line on the page for each letter in the word. The second player then tries to guess letters that might be in the word.

If the second player ...

Get Invent Your Own Computer Games with Python , 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.