3rd Dec 2020, 2:17 PM
Yahel
Yahel - avatar
2 Answers
+ 10
Yahel free_positions = free_positions -1 You never defined free_positions before using it. I suspect this is what you're one of the error is Also tictactoe_board[positions.get(take_in)] tictactoe_board is a list of lists, but positions.get will return coordinates. Not sure how that's supposed to work.. Hope you understand 👍
3rd Dec 2020, 3:28 PM
Piyush
Piyush - avatar
0
Piyush[21 Dec❀], i did mention free_positions at line 18. and im not sure what im supposed to do in order to fix the problem you mentioned in the second paragraph of your response...
3rd Dec 2020, 3:50 PM
Yahel
Yahel - avatar