canasta v0.1.0 Canasta.Meld View Source

Represents a meld — when the player puts down three or more cards on the table.

Link to this section Summary

Functions

Returns the type of canasta (:natural, :dirty), or :no_canasta

Create a new meld from an array of cards

Link to this section Functions

Returns the type of canasta (:natural, :dirty), or :no_canasta.

Link to this function create_meld(cards, final_round \\ false) View Source

Create a new meld from an array of cards.