我需要帮助以允许此功能阻止人们覆盖其他玩家已经在他们的三分球游戏中输入的坐标
def CheckValidMove(XCoordinate, YCoordinate, Board):
ValidMove = True
'''This function makes sure the coordinate inputed
by the user is valid, e.g. from 1 - 3 displayed on the board'''
if (XCoordinate < 1) or (XCoordinate > 3):
ValidMove = False
if (YCoordinate < 1) or (YCoordinate > 3):
ValidMove = False
return ValidMove