Replacing blanks with guesses
This commit is contained in:
+25
-23
@@ -1,23 +1,25 @@
|
||||
"""!
|
||||
@file constants.py
|
||||
@brief Constants shared across the Hangman game.
|
||||
"""
|
||||
|
||||
## Words the computer picks from.
|
||||
WORD_LIST = [
|
||||
"aardvark",
|
||||
"baboon",
|
||||
"camel",
|
||||
"dolphin",
|
||||
"elephant",
|
||||
"flamingo",
|
||||
"giraffe",
|
||||
"hedgehog",
|
||||
"iguana",
|
||||
"kangaroo",
|
||||
"leopard",
|
||||
"octopus",
|
||||
"penguin",
|
||||
"squirrel",
|
||||
"tortoise",
|
||||
]
|
||||
"""!
|
||||
@file constants.py
|
||||
@brief Constants shared across the Hangman game.
|
||||
"""
|
||||
|
||||
## Character shown for a letter that has not been guessed yet.
|
||||
BLANK = "_"
|
||||
## Words the computer picks from.
|
||||
WORD_LIST = [
|
||||
"aardvark",
|
||||
"baboon",
|
||||
"camel",
|
||||
"dolphin",
|
||||
"elephant",
|
||||
"flamingo",
|
||||
"giraffe",
|
||||
"hedgehog",
|
||||
"iguana",
|
||||
"kangaroo",
|
||||
"leopard",
|
||||
"octopus",
|
||||
"penguin",
|
||||
"squirrel",
|
||||
"tortoise",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user