View Source Islands.Score (Islands Score v0.1.43)
A score struct and functions for the Game of Islands.
The score struct contains the fields
forested_types representing the characteristics of a score in the
Game of Islands.
Inspired by the book Functional Web Development by Lance Halvorsen.
Creates a score struct from a player's board struct.
score formatted with embedded ANSI escapes.
Creates a score struct from an opponent's board struct.