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

Defines the player ID type for the Game of Islands.

Inspired by the book Functional Web Development by Lance Halvorsen.

Summary

Types

t()

Player ID for the Game of Islands

Types

@type t() :: :player1 | :player2

Player ID for the Game of Islands