Skip to content

Commit

Permalink
Renamed UniqueEvalInterface as UniqueImbalanceEvalInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
programarivm committed Jan 5, 2025
1 parent 8ab8e92 commit e3bfe23
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/Eval/CenterEval.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* Measures how close the pieces are to the center of the board.
*/
class CenterEval extends AbstractEval implements UniqueEvalInterface
class CenterEval extends AbstractEval implements UniqueImbalanceEvalInterface
{
use ExplainEvalTrait;

Expand Down
12 changes: 0 additions & 12 deletions src/Eval/UniqueEvalInterface.php

This file was deleted.

13 changes: 13 additions & 0 deletions src/Eval/UniqueImbalanceEvalInterface.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

namespace Chess\Eval;

/**
* Unique Imbalance Evaluation
*
* Classes implementing this interface are designed so that each move can create
* a unique imbalance.
*/
interface UniqueImbalanceEvalInterface
{
}

0 comments on commit e3bfe23

Please sign in to comment.