From 8bc369c31ca3fa677628c953a9927501370f4db5 Mon Sep 17 00:00:00 2001 From: oto Date: Sun, 7 Aug 2022 09:32:16 +0300 Subject: [PATCH] a little reminder to myself --- GameLogic.py | 1 + 1 file changed, 1 insertion(+) diff --git a/GameLogic.py b/GameLogic.py index 8c9fcf0..02ae54f 100644 --- a/GameLogic.py +++ b/GameLogic.py @@ -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: