def human_player(board):
    """
    A callback that asks the user what to do
    """
    target = None

    while type(target) != int:
        target = input("Pick a column #: --> ")
        try:
            target = int(target)
        except ValueError:
            print("Please specify an integer column number")

    return target