hanabi instances: support differnt starting players
This commit is contained in:
parent
9f952c231f
commit
2ca79dfc6c
1 changed files with 2 additions and 2 deletions
|
@ -41,8 +41,8 @@ class HanabLiveInstance(hanabi.HanabiInstance):
|
||||||
|
|
||||||
|
|
||||||
class HanabLiveGameState(hanabi.GameState):
|
class HanabLiveGameState(hanabi.GameState):
|
||||||
def __init__(self, instance: HanabLiveInstance):
|
def __init__(self, instance: HanabLiveInstance, starting_player: int = 0):
|
||||||
super().__init__(instance)
|
super().__init__(instance, starting_player)
|
||||||
self.instance: HanabLiveInstance = instance
|
self.instance: HanabLiveInstance = instance
|
||||||
|
|
||||||
def make_action(self, action):
|
def make_action(self, action):
|
||||||
|
|
Loading…
Reference in a new issue