perudox v0.1.0 Perudox.Player

This module is the GenServer interface around a Perudox.Player.State data structure.

Summary

Types

t()
t() :: pid

Functions

lose_a_dice(player)
lose_a_dice(Perudox.Player.t) :: :ok
new(nickname)
nickname(player)
nickname(Perudox.Player.t) :: String.t
occurences(player)
roll(player)
roll(Perudox.Player.t) :: :ok
set_hand(player, hand)
start_link(state)
state(player)
win_a_dice(player)
win_a_dice(Perudox.Player.t) :: :ok