quoridor.scorer#
Scorers for board state.
Functions
Calculate a score. |
- quoridor.scorer.score_with_relative_path_length_dif(bs: BoardState) float #
Calculate a score.
The score is the actual relative path length difference between players.
- Renvoie:
if one way is blocked -1000, if player won inf, otherwise (l2-l1)/l1.