- fixed human player
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ class HumanPlayer(APlayer):
|
||||
state_next = self.to_state(state.copy(), move)
|
||||
return state_next, has_moved
|
||||
|
||||
def end_game(self, value):
|
||||
def end_game(self, value, state: np.array):
|
||||
if value > 0:
|
||||
print(f"{self.name}, Du hast gewonnen, super!")
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user