Example #1
0
 def __init__(self, last_pos, last_move, game_id, engine, info_handler,
              game):
     self.last_pos = last_pos.copy()
     self.last_move = last_move
     self.game_id = game_id
     last_pos.push(last_move)
     self.positions = position_list(last_pos, engine, info_handler)
     self.game = game
Example #2
0
 def __init__(self, last_pos, last_move, variant, engine, info_handler):
     self.last_pos = last_pos.copy()
     self.last_move = last_move
     self.variant = variant
     last_pos.push(last_move)
     self.positions = position_list(last_pos, engine, info_handler, variant)
 def __init__(self, last_pos, last_move, game_id, engine, info_handler):
     self.last_pos = last_pos.copy()
     self.last_move = last_move
     self.game_id = game_id
     last_pos.push(last_move)
     self.positions = position_list(last_pos, engine, info_handler)