Skip to content

Commit 929db66

Browse files
committed
Add skeleton code for exercise hangman
1 parent c85fefb commit 929db66

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

exercises/hangman/hangman.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
class Hangman(object):
2+
def __init__(self, word):
3+
self.remainingGuesses = 9
4+
self.status = 'busy'
5+
6+
def guess(self, char):
7+
pass
8+
9+
def get_masked_word(self):
10+
pass
11+
12+
def get_status(self):
13+
pass

0 commit comments

Comments
 (0)