From 518f2b409ae9f65d448cc11e190cddd73ef675c0 Mon Sep 17 00:00:00 2001 From: gnieark Date: Wed, 16 Dec 2015 00:20:59 +0100 Subject: [PATCH] put stupid IA off before sleep, it can load 100% CPU --- html/StupidIABattleship.php | 1 + 1 file changed, 1 insertion(+) diff --git a/html/StupidIABattleship.php b/html/StupidIABattleship.php index ba9af2d..66b75e1 100644 --- a/html/StupidIABattleship.php +++ b/html/StupidIABattleship.php @@ -1,4 +1,5 @@ $x2) && ($y1 <> $y2)) OR (!isset($map[$y1][$x1]))