bstraehle commited on
Commit
d20cc76
·
verified ·
1 Parent(s): 40b8162

Update multi_agent.py

Browse files
Files changed (1) hide show
  1. multi_agent.py +4 -1
multi_agent.py CHANGED
@@ -202,11 +202,14 @@ def should_continue(state):
202
  print("### num_moves=" + str(num_moves))
203
 
204
  if move_num == num_moves:
 
205
  return END # max moves reached
206
 
207
  if not legal_moves:
 
208
  return END # checkmate or stalemate
209
-
 
210
  return "chess_board_proxy"
211
 
212
  def initialize():
 
202
  print("### num_moves=" + str(num_moves))
203
 
204
  if move_num == num_moves:
205
+ print("### max moves reached")
206
  return END # max moves reached
207
 
208
  if not legal_moves:
209
+ print("### checkmate")
210
  return END # checkmate or stalemate
211
+
212
+ print("### chess_board_proxy")
213
  return "chess_board_proxy"
214
 
215
  def initialize():