Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 564 Bytes

README.md

File metadata and controls

22 lines (19 loc) · 564 Bytes

tournamex

hex.pm version hex.pm

Elixir module for generating tournament brackets. We will add functions gradually. https://hexdocs.pm/tournamex/0.1.0/api-reference.html

Installation

defp deps do
  [
    {:tournamex, "~> 0.5.0"}
  ]
end

Usage

iex(1)> Tournamex.generate_matchlist([1, 2, 3, 4, 5])
{:ok, [[5, 2], [3, [4, 1]]]}