Fixed spelling error

This commit is contained in:
sloumdrone 2019-04-29 22:53:46 -07:00
parent 21443189ac
commit 05046965a6
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ class Brandubh:
while True:
verify = input('Are you sure (y/n)? ')
if verify in ['y', 'yes']:
self.winnder = self.p1 if self.p2 == self.current_player else self.p2
self.winner = self.p1 if self.p2 == self.current_player else self.p2
res = {"winner": self.winner, "board": self.board, "move": False, "message": "{} forfeit, {} wins!".format(self.current_player, self.winner)}
return res
elif verify in ['n', 'no']: