[The game will be displayed as nine blocks, with rows and columns marked numerically, of which the squares' coordinates will be a combination; ex: 11(first column, first row), 12(first column, second row), 13, 21, 22, etc. till 33] I have the display down, just can't figure out this one issue.
The following is my code for accepting moves:
askformovestr = "Turn: X. Please enter the coordinates for the square in which you wish to drop your piece, with column number followed by row number(e.g. 11 drops to top left square, 12 to the square below it, 23 to the square in the third row, second column, etc., etc.): "
def askformove():
inmove = int(input(askformovestr))
while inmove is not 11 or 12 or 13 or 21 or 22 or 23 or 31 or 32 or 33:
print("Invalid input, sorry. Please try again.")
inmove = int((input("Turn: X. Please enter the coordinates for the square in which you wish to drop your piece(e.g. 1B, 2C, 3A, etc.): ")))
askformove()
Maybe instead this:
while inmove is not 11 or 12 or 13 or 21 or 22 or 23 or 31 or 32 or 33:
Try this:
while (inmove != 11 or inmove != 12 or inmove != 13 or inmove != 21 or inmove != 22 or
inmove != 23 or inmove != 31 or inmove != 32 or inmove != 33):