Packages

Perudex is a library implementing the game Perudo, also known as Dudo or Liar's Dice (which you may have heard of in the Pirates of the Caribbean movie).

Current section

Files

Jump to
perudex lib game_registry.ex
Raw

lib/game_registry.ex

defmodule Perudex.GameRegistry do
@moduledoc """
This module define the Registry to keep the game state in memory.
"""
def child_spec(),
do:
Registry.child_spec(keys: :unique, name: __MODULE__, partitions: System.schedulers_online())
end