def get_player_move(board):
    # Let the player type in his move.
    move = ' '
    while move not in '1 2 3 4 5 6 7 8 9'.split() or not is_space_free(board, int(move)):
        print('What is your next move? (1-9)')
        move = input()
    return int(move)
dataset/ETHPy150Open aroberge/pyproj/iwip/tictactoe_mod.py/get_player_move/original