a little reminder to myself

This commit is contained in:
otomo otonami 2022-08-07 09:32:16 +03:00
parent e8236a7e4a
commit 8bc369c31c

View File

@ -28,6 +28,7 @@ class GameLogic():
# since every mark is checked, there's no need to go into
# opposite directions, so, there is (0,1) but no (0, -1).
# This twice decreases the amount of computation needed.
# maybe TODO - Optimize even more by preventing repeated calculations.
directions = ((0, 1), (1, 0), (1,1), (-1, 1))
for mark in markList:
for direction in directions: