mirror of
https://github.com/neogeek23/Tic-Tac-Toe.git
synced 2026-02-04 02:48:16 +00:00
Update tictactoe.py
Added Comment
This commit is contained in:
parent
71e3937298
commit
76aa1ba676
@ -198,7 +198,7 @@ class Board:
|
||||
for i in range(self.__dimensions):
|
||||
initial.append(True)
|
||||
|
||||
for i in range(len(initial)):
|
||||
for i in range(len(initial)): # Don't do +1 b/c +1 item will get all False
|
||||
if i > 0:
|
||||
initial[i - 1] = False
|
||||
for j in list(itertools.permutations(initial)):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user