From ddeeed525d41e086df36f84ba56aa1d20ce652af Mon Sep 17 00:00:00 2001 From: Vincent Rodley Date: Sat, 2 Aug 2025 14:49:31 +1200 Subject: [PATCH] fixed the first column (im stupid) --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 5642cd7..30ecd1a 100644 --- a/main.py +++ b/main.py @@ -108,7 +108,7 @@ while playing: while True: try: 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 tile = board[chosenColumn].index("O") break