# Path: poker/_common.py
# class PokerEnum(_OrderableMixin, enum.Enum, metaclass=_PokerEnumMeta):
#     def __str__(self):
#         return str(self._value_[0])
# 
#     def __repr__(self):
#         val = self._value_[0]
#         apostrophe = "'" if isinstance(val, str) else ""
#         return f"{self.__class__.__name__}({apostrophe}{val}{apostrophe})"
# 
#     def __format__(self, format_spec):
#         return str(self._value_[0])
# 
#     @property
#     def val(self):
#         """The first value of the Enum member."""
#         return self._value_[0]


from ._common import PokerEnum
    # '2nd Chance' is a regular tournament on sunday evening,
    # after Sunday million (name), NOT a tournament format


class TourSpeed(PokerEnum):
    SLOW = ("Slow",)
    REGULAR = ("Regular",)
    TURBO = ("Turbo",)
    HYPER = ("Hyper-Turbo",)
    DOUBLE = ("2x-Turbo",)


class MoneyType(PokerEnum):
    REAL = ("Real money",)
    PLAY = ("Play money",)


class Action(PokerEnum):
    BET = "bet", "bets"
    RAISE = "raise", "raises"
    CHECK = "check", "checks"
    FOLD = "fold", "folded", "folds"
    CALL = "call", "calls"
    RETURN = "return", "returned", "uncalled"
    WIN = "win", "won", "collected"
    SHOW = ("show",)
    MUCK = "don't show", "didn't show", "did not show", "mucks"
    THINK = ("seconds left to act",)



# Path: poker/_common.py
# class PokerEnum(_OrderableMixin, enum.Enum, metaclass=_PokerEnumMeta):
#     def __str__(self):
#         return str(self._value_[0])
# 
#     def __repr__(self):
#         val = self._value_[0]
#         apostrophe = "'" if isinstance(val, str) else ""
#         return f"{self.__class__.__name__}({apostrophe}{val}{apostrophe})"
# 
#     def __format__(self, format_spec):
#         return str(self._value_[0])
# 
#     @property
#     def val(self):
#         """The first value of the Enum member."""
#         return self._value_[0]


# Path: poker/constants.py
from ._common import PokerEnum

    # '2nd Chance' is a regular tournament on sunday evening,
    # after Sunday million (name), NOT a tournament format


class TourSpeed(PokerEnum):
    SLOW = ("Slow",)
    REGULAR = ("Regular",)
    TURBO = ("Turbo",)
    HYPER = ("Hyper-Turbo",)
    DOUBLE = ("2x-Turbo",)


class MoneyType(PokerEnum):
    REAL = ("Real money",)
    PLAY = ("Play money",)


class Action(PokerEnum):
    BET = "bet", "bets"
    RAISE = "raise", "raises"
    CHECK = "check", "checks"
    FOLD = "fold", "folded", "folds"
    CALL = "call", "calls"
    RETURN = "return", "returned", "uncalled"
    WIN = "win", "won", "collected"
    SHOW = ("show",)
    MUCK = "don't show", "didn't show", "did not show", "mucks"
    THINK = ("seconds left to act",)



class Position(PokerEnum):