PassedPawns
dicechess.engine.search.PassedPawns
object PassedPawns
Shared-core primitive for detecting and evaluating passed pawns for an explicit perspective color.
Uses the standard chess definition: a pawn is passed if there are no opposing pawns on the same file or on any adjacent file on any square ahead of the pawn along its direction of advance.
The evaluation perspective is the explicit color argument, independent of state.activeColor and the dice pool.
Attributes
- Source
- PassedPawns.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PassedPawns.type
Members list
In this article