| 1 | package Poker::Game::Omaha5; | ||
| 2 | 2 | our $VERSION = '0.12'; | |
| 3 | |||
| 4 | |||
| 5 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 2 | ▶ | use warnings FATAL => 'all'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 2 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | =head1 NAME | ||
| 10 | |||
| 11 | Poker::Game::Omaha5 - Five-card Omaha (high only) | ||
| 12 | |||
| 13 | =head1 VERSION | ||
| 14 | |||
| 15 | Version 0.12 | ||
| 16 | |||
| 17 | =cut | ||
| 18 | |||
| 19 | |||
| 20 | =head1 SYNOPSIS | ||
| 21 | |||
| 22 | use Poker::Game::Omaha5; | ||
| 23 | |||
| 24 | my $game = Poker::Game::Omaha5->new; | ||
| 25 | my $hero = $game->deal_hole(['As','Kd','7c','2h','9s']); # 5 hole | ||
| 26 | $game->flop(['Ah','Kc','2d']); | ||
| 27 | $game->turn('3s'); | ||
| 28 | $game->river('8c'); | ||
| 29 | $game->evaluate($hero); | ||
| 30 | |||
| 31 | =head1 DESCRIPTION | ||
| 32 | |||
| 33 | Five-card Omaha: five hole cards, five community cards. Best hand still | ||
| 34 | uses B<exactly two> hole cards and B<exactly three> community cards | ||
| 35 | (same as four-card Omaha). Standard highball ranking. | ||
| 36 | |||
| 37 | =cut | ||
| 38 | |||
| 39 | 2 | extends 'Poker::Game::Omaha'; | |
| 40 | |||
| 41 | 2 | ▶ | 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 | 2 | 1; | |