def callMoveFunction(player, board): if game_rules.isInitialMove(board): if player.symbol == 'x': return player.selectInitialX(board) else: return player.selectInitialO(board) else: return player.getMove(board)
def callMoveFunction(player, board): if game_rules.isInitialMove(board): return player.selectInitialX( board) if player.symbol == 'x' else player.selectInitialO(board) else: return player.getMove(board)