fix missing self. in hanabi.py
This commit is contained in:
parent
0e6067ffe3
commit
9cd87445f2
1 changed files with 2 additions and 2 deletions
|
@ -187,8 +187,8 @@ class GameState():
|
||||||
self.clues += 1
|
self.clues += 1
|
||||||
else:
|
else:
|
||||||
self.strikes += 1
|
self.strikes += 1
|
||||||
assert (self.strikes < instance.num_strikes)
|
assert (self.strikes < self.instance.num_strikes)
|
||||||
self.trash.append(instance.deck[card_idx])
|
self.trash.append(self.instance.deck[card_idx])
|
||||||
self.actions.append(Action(ActionType.Play, target=card_idx))
|
self.actions.append(Action(ActionType.Play, target=card_idx))
|
||||||
self.__replace(card_idx)
|
self.__replace(card_idx)
|
||||||
self.__make_turn()
|
self.__make_turn()
|
||||||
|
|
Loading…
Reference in a new issue