Acme-Mahjong-Rule-CC
view release on metacpan or search on metacpan
Revision history for Perl extension Acme::Mahjong::Rule::CC.
0.10 Sun Jan 10 13:39:25 2010
- original version; created by h2xs 1.23 with options
-XAn Acme::Mahjong::Rule::CC
0.20 Sun Jan 31 23:58:06 2010
Now throws exceptions if given the wrong number of arguments.
Includes tests and an example(mj_series)
0.22 Tue Feb 02 17:06:30 2010
Some formating fixes in the documentation
lib/Acme/Mahjong/Rule/CC.pm view on Meta::CPAN
$type = 1;
} else {
@players = sort {$b eq $dealer} @players;
$type = 2;
}
=head2 Note:
You can find the rest of the source code for mj_series with your distrobution.
#!There must be exactly four arguments in dealer(), nondealer(),
and draw() otherwise, the function will throw an exception.
=head1 DESCRIPTION
This module provides functions that table the exchanges of a round of mahjong
based off of the given scores. This module mainly applies to the Classic
Chinese version of the game, where every hand is scored, not just the winners.
Players pay each other the value of the other's hand, dealer pays and recieves
double, and winner pays no one.
=over
( run in 0.233 second using v1.01-cache-2.11-cpan-496ff517765 )