GameUtils extension

on

Methods

divide(int depth) Map<String, int>
Performs a divide perft test, to depth.
evaluate(Colour player) int
Returns a naive material evaluation of the current position, from the perspective of player. Return value is in centipawns. For example, if white has captured a rook from black with no compensation, this will return +500.