Function add_score

Source
pub fn add_score(p: Peer, b: Board, v: i16) -> i16
Expand description

Add the given score to the board.

May be negative if you want the lower scores to rank higher. Zero value is not added to the board.

If the Peer is Peer::COMBINED, the score is added for every peer and the returned value is the lowest of their best scores.