Skip to content

Commit

Permalink
Updated to PHP Chess 1.4.73
Browse files Browse the repository at this point in the history
  • Loading branch information
programarivm committed Nov 18, 2024
1 parent 5ff4483 commit de35e25
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Command/Game/Async/HeuristicTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace ChessServer\Command\Game\Async;

use Chess\SanHeuristic;
use Chess\SanHeuristics;
use Chess\Function\CompleteFunction;
use Chess\Variant\Chess960\Board as Chess960Board;
use Chess\Variant\Chess960\FEN\StrToBoard as Chess960FenStrToBoard;
Expand All @@ -25,10 +25,10 @@ public function run()
: new ClassicalBoard();
}

$balance = (new SanHeuristic(
$balance = (new SanHeuristics(
new CompleteFunction(),
$this->params['name'],
$this->params['movetext'],
$this->params['name'],
$board
))->getBalance();

Expand Down

0 comments on commit de35e25

Please sign in to comment.