WordWarp Stub Sample Output

In the example below, we've sketched out main but have stubs returning dummy values for every function. In this example, main adds 4 points every round no matter what. The user can type anything at the prompt. The game loop continues until ENTER is pressed by the user. Your design does not have to look exactly like this.


$ python3 design-ww.py

Welcome!

0
['----', '------']
aaaaaa
Your word: apple
4
['----', '------']
aaaaaa
Your word: orange
8
['----', '------']
aaaaaa
Your word: pear
12
['----', '------']
aaaaaa
Your word:

Game OVER