Islands.PlayerID (Islands Player ID v0.1.16) View Source

Defines the player ID type for the Game of Islands.

Inspired by the book Functional Web Development by Lance Halvorsen.

Link to this section Summary

Types

t()

Player ID for the Game of Islands

Link to this section Types

Specs

t() :: :player1 | :player2

Player ID for the Game of Islands