Skip to content

Commit

Permalink
Updated to PHP Chess 1.4.04
Browse files Browse the repository at this point in the history
  • Loading branch information
programarivm committed Jan 5, 2024
1 parent 46bc4a5 commit 13cf1c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Game/AbstractMode.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace ChessServer\Game;

use Chess\FenToBoard;
use Chess\Heuristics\EvalFunction;
use Chess\Function\StandardFunction;
use Chess\Heuristics\FenHeuristics;
use Chess\Movetext\NagMovetext;
use Chess\UciEngine\Stockfish;
Expand Down Expand Up @@ -66,7 +66,7 @@ public function res($argv, $cmd)
case HeuristicsCommand::class:
return [
$cmd->name => [
'evalNames' => (new EvalFunction())->names(),
'evalNames' => (new StandardFunction())->names(),
'balance' => (new FenHeuristics($argv[1], $argv[2]))
->getBalance(),
],
Expand Down

0 comments on commit 13cf1c9

Please sign in to comment.