Elixir CI

Yatzy

An implementation of the Yatzy game.

Installation

If available in Hex, the package can be installed by adding yatzy to your list of dependencies in mix.exs:

def deps do
  [
    {:yatzy, "~> 1.0.0"}
  ]
end

Usage

Start a game with Yatzy.new_game(["Alice", "Bob"]). This return the game state. All subsequent interactions are done by providing the game state:

Documentation

Documentation can be found at https://hexdocs.pm/yatzy.