Initial commit.
Browse files- wordgame.py +1 -1
wordgame.py
CHANGED
|
@@ -50,4 +50,4 @@ class WordGame:
|
|
| 50 |
return "That didn't quite hit the mark. Try again!"
|
| 51 |
|
| 52 |
def update_status(self, message=""):
|
| 53 |
-
return f'Current score: {self.points}
|
|
|
|
| 50 |
return "That didn't quite hit the mark. Try again!"
|
| 51 |
|
| 52 |
def update_status(self, message=""):
|
| 53 |
+
return f'Current score: {self.points}\nRemaining attempts: {self.attempts}\nTarget word: "{self.target_word}"\n{message}'
|