| 1 | package Poker::Game::Omaha5HiLo; | ||
| 2 | 1 | our $VERSION = '0.12'; | |
| 3 | |||
| 4 | |||
| 5 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 1 | ▶ | use warnings FATAL => 'all'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 1 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | =head1 NAME | ||
| 10 | |||
| 11 | Poker::Game::Omaha5HiLo - Five-card Omaha high/low 8-or-better | ||
| 12 | |||
| 13 | =head1 VERSION | ||
| 14 | |||
| 15 | Version 0.12 | ||
| 16 | |||
| 17 | =cut | ||
| 18 | |||
| 19 | |||
| 20 | =head1 SYNOPSIS | ||
| 21 | |||
| 22 | use Poker::Game::Omaha5HiLo; | ||
| 23 | |||
| 24 | my $game = Poker::Game::Omaha5HiLo->new; | ||
| 25 | my $hero = $game->deal_hole(['As','2d','3c','Kd','9h']); | ||
| 26 | $game->runout(['4h','5c','6s','Jh','Kc']); | ||
| 27 | $game->evaluate($hero); | ||
| 28 | say $hero->name; | ||
| 29 | say $hero->low_name if $hero->low_score; | ||
| 30 | |||
| 31 | =head1 DESCRIPTION | ||
| 32 | |||
| 33 | Five-card Omaha Hi-Lo: five hole cards, five community cards. Exactly | ||
| 34 | two hole and three community for each direction. High uses highball; | ||
| 35 | low uses 8-or-better. | ||
| 36 | |||
| 37 | =cut | ||
| 38 | |||
| 39 | 1 | extends 'Poker::Game::OmahaHiLo'; | |
| 40 | |||
| 41 | 1 | ▶ | has '+hole_count' => ( default => sub { 5 } ); |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 42 | |||
| 43 | =head1 AUTHOR | ||
| 44 | |||
| 45 | Nathaniel Graham, C<< <ngraham at cpan.org> >> | ||
| 46 | |||
| 47 | =head1 LICENSE AND COPYRIGHT | ||
| 48 | |||
| 49 | Copyright 2016-2026 Nathaniel Graham. | ||
| 50 | |||
| 51 | =cut | ||
| 52 | |||
| 53 | 1 | 1; | |