Is your feature request related to a problem? Please describe.
Using a tuple to unpack data values seems quite counter-intuitive and creates more problems as opposed to solutions. So we're considering creating dataclass instances that hold a user's blackjack game metadata for as long as the game exists
Describe the solution you'd like
@dataclass(slots=True, repr=False)
class BlackjackGame:
deck: list[int]
player_hand: list[int]
dealer_hand: list[int]
player_hand_ui: list[str]
dealer_hand_ui: list[str]
bet: int
Is your feature request related to a problem? Please describe. Using a tuple to unpack data values seems quite counter-intuitive and creates more problems as opposed to solutions. So we're considering creating dataclass instances that hold a user's blackjack game metadata for as long as the game exists
Describe the solution you'd like