fixed the first column (im stupid)

This commit is contained in:
Vincent Rodley 2025-08-02 14:49:31 +12:00
parent 498c4c453b
commit ddeeed525d

View File

@ -108,7 +108,7 @@ while playing:
while True: while True:
try: try:
chosenColumn = getIntInput(f"{colourTile(player)} where do you want to drop your tile? 1-7.\n>>> ") - 1 chosenColumn = getIntInput(f"{colourTile(player)} where do you want to drop your tile? 1-7.\n>>> ") - 1
if chosenColumn <= 0: if chosenColumn < 0:
raise IndexError raise IndexError
tile = board[chosenColumn].index("O") tile = board[chosenColumn].index("O")
break break