Skip to content
/ py-mcr Public
forked from hccheng/py-mcr

Automatically exported from code.google.com/p/py-mcr

Notifications You must be signed in to change notification settings

offe/py-mcr

This branch is 4 commits ahead of hccheng/py-mcr:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6c8ae59 · Oct 27, 2019

History

36 Commits
Oct 27, 2019
Oct 27, 2019
May 14, 2008
Oct 27, 2019
Jun 22, 2008
May 14, 2008
May 18, 2008
May 14, 2008
Jul 14, 2013
Jul 14, 2013
Jul 14, 2013
May 14, 2008
Jul 14, 2013
Sep 21, 2008
Oct 27, 2019
Sep 28, 2008
Jul 14, 2013
Jul 14, 2013
Oct 27, 2019
Sep 2, 2008

Repository files navigation

PyMCR

The PyMCR library helps with scoring of a Mahjong hand given a situation, using Mahjong Competition Rules (also known as Chinese Official).

Except for being useful in Mahjong related software, it is also a reference implementation clarifying the official rule books.

The library is capable of identify how to obtain the highest possible score in a given situation. It does not handle penalties, but all 81 scoring elements are handled.

The project has been around for over 10 years, but have spent most of this time sleeping. It still needs input to sort out bugs and misunderstandings of the rules.

Try it out at it http://mahjonghand.appspot.com. The Google App Engine Application shown there is included in the project.

The project started in 2008, and then after a nearly 4 year break, some the issues people had reported were corrected in version 1.1. Now over 11 years later I ve started to clean up the project again.

About

Automatically exported from code.google.com/p/py-mcr

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%