package
0.0.0-20241211215934-c01629110046
Repository: https://github.com/gowikel/adventofcode-golang.git
Documentation: pkg.go.dev

# Functions

Determines the card strength based on the order of the given card, AKQJT98765432.
Calculates which HandType should be used of a given set of cards.
Card constructor.
Hand constructor from a string, like "32T3K" If something goes wrong while parsing the Cards the error is returned.
Generates a new rank, with score equal to zero.
Parses the given text as a list of hands.
This function defines how to sort a list of ranks by its strength.
Determines the strength of the card exactly like in BasicCardStrengthDeterminer but moving 'J' to the bottom.
The function takes into account that 'J' are comodin cards, and therefore, can count towards other types.

# Constants

Ordered from less to more value.
Ordered from less to more value.
Ordered from less to more value.
Ordered from less to more value.
Ordered from less to more value.
Ordered from less to more value.
Ordered from less to more value.

# Structs

Type representing a Card in the Camel Cards game the valid values are: A, K, Q, J, T, 9, 8, 7, 6, 5, 4, 3, or 2.
No description provided by the author
Represents a hand in the Camel Cards game.
Represents a Rank, aka, a hand in the Camel Cards with its corresponding bid.

# Type aliases

Represents the Hand type, based on the given cards.