Tron down to 100X100, My CPU is happy

master
Gnieark 7 years ago
parent 5830420a6d
commit e210f29626

@ -1,7 +1,7 @@
<?php
class Coords{
private static $min = 0;
private static $max = 999;
private static $max = 99;
public $x;
public $y;

@ -77,7 +77,7 @@ switch($params['action']){
//put all non empty coords on array
$busyCells = array();
error_log ("plop");
//error_log ("plop");
foreach($params['board'] as $tail){
foreach($tail as $coord){
$busyCells[] = new Coords($coord[0],$coord[1]);
@ -113,7 +113,7 @@ switch($params['action']){
}
}
echo '{"play":"'.$bestChoice .'"}';
error_log($bestChoice);
//error_log($bestChoice);
break;
default:

Loading…
Cancel
Save