Name : perl-Acme-Mahjong-Rule-CC
| |
Version : 0.22
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp154.8.1
| Date : 2023-01-27 16:53:32
|
Group : Development/Libraries/Perl
| Source RPM : perl-Acme-Mahjong-Rule-CC-0.22-lp154.8.1.src.rpm
|
Size : 0.01 MB
| |
Packager : https://www_suse_com/
| |
Summary : Exchange Tables for a Classic Chinese Version of Mahjong
|
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.
* mahjong_table()
mahjong_table() provides an example of how to use the other functions or gives you a very basic 1-hand mahjong score calculator. It is not included with :tables, you must use :all to be able to use it.
* nondealer()
As with all game types, the dealer pays and recieves double, the winner pays no one, but collects from everyone(double from the dealer), and the other players collect normally, while still paying/recieving double from the dealer and paying, but not collecting from the winner.
* dealer()
The dealer() function returns the exchanges of the given scores when the dealer is the winner. meaning that the winnner both collects double and pays no one.
* draw()
returns the exchanges of the given scores when there is no winner in the form of an array.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-A/15.4/noarch |