NAME
Poker::Game::Stud - Base class for stud-style games
VERSION
Version 0.12
DESCRIPTION
Stud games have no community board. Each player is dealt their own cards across streets. Final hand size defaults to 7 (seven-card stud); best five are scored via the eval engine.
Street helpers enforce typical seven-card stud structure:
third_street -- deal 3 (start)
fourth_street -- deal 1 (hand size 4)
fifth_street -- deal 1 (hand size 5)
sixth_street -- deal 1 (hand size 6)
seventh_street / river -- deal 1 (hand size 7)
deal_to
$game->deal_to($hand, 3);
$game->deal_to($hand, 1, ['As']);
Append cards to an existing hand.
third_street
Deal the first three cards to an empty hand.
fourth_street / fifth_street / sixth_street / seventh_street
Deal one additional card at each street.
deal_hole
For stud, deal_hole starts an empty hand and deals third street (3 cards), or accepts a specific list of up to 7 cards.