Skip to content

Commit 6c84dab

Browse files
committed
bug fix
fixed the indices for a diagonal
1 parent 4b1b2c7 commit 6c84dab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tic_tac_toe.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[0, 1, 2], [0, 3, 6],
77
[3, 4, 5], [1, 4, 7],
88
[6, 7, 8], [2, 5, 8],
9-
[3, 5, 7], [0, 4, 8]
9+
[2, 4, 6], [0, 4, 8]
1010
]
1111

1212

0 commit comments

Comments
 (0)