perudox v0.1.0 Perudox.Bet
This module materializes a bet. It always contains a count and a value. This module allows verifying that a bet is legal or stronger than another.
Summary
Types
Functions
stronger?(mode, b1, b2)
stronger?(Perudox.Game.State.mode, bet_or_tuple, bet_or_tuple) :: :ok | {:error, atom}