Bug 298821

Summary: Japanese Ruleset
Product: [Applications] kajongg Reporter: Wyatt Epp <wyatt.epp>
Component: generalAssignee: Wolfgang Rohdewald <wolfgang>
Status: REPORTED ---    
Severity: wishlist CC: kde-games-bugs-null, raydredondo, subfusc, yasuna
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Wyatt Epp 2012-04-25 19:28:45 UTC
I'd like to see support for Japanese Mahjong rules.  It's a somewhat different flavour from Chinese, especially in terms of the favouring of closed hands and the betting mechanics of Riichi. Our group greatly prefers this variant.
http://en.wikipedia.org/wiki/Japanese_Mahjong
http://en.wikipedia.org/wiki/Japanese_Mahjong_scoring_rules

It's a bit complicated in different dimensions, but well-loved.
Required changes (off the top of my head):
- The wall (because the wall break for the centre wall/Dora (which might be its own file?))
- Discarding (Because discard arrangement is specified as rows of six)
- Rules (Point values, riichi bet, yaku/han scoring adjustments)
- Removal of seasons and flowers
- Addition of the point-pool scoring.

Here's a single-player version in Flash that shows the concept at work:
http://www.gamedesign.jp/flash/mahjong/mahjong_e.html

I'd be interested in at least helping with this (vested interest and all).
Comment 1 Wolfgang Rohdewald 2012-04-26 04:03:58 UTC
Am Mittwoch, 25. April 2012, 19:28:45 schrieb Wyatt Epp:
> I'd be interested in at least helping with this (vested interest and all).

I am currently implementing support for another classical chinese variant
(British) and then want to do more European classical variants. International
tournament rules and riichi rules are certainly planned for some time in
the future but it will take some time (at least some months) until I might
get there.

So if you would like to help, that would be very welcome!

For being able to help however you should be able to program in python.
If that is so, I will point you to the right place where you could start.

BTW you can already disable bonus tiles. There is an option in the ruleset.
Comment 2 Sindre Wetjen 2013-01-12 12:52:42 UTC
I would also like to see the Japanese Rulesett in Kajongg, since that is mostly what I play. I have some Python knowledge and could perhaps spend some time on this. Can you give a short list of what needs to be implemented in order for a new ruleset to work (prefferably w/AI) ?
Comment 3 Ray Redondo 2022-04-05 01:19:34 UTC
I'd also support this and help with it; I haven't looked at the codebase yet, but I know some of several programming languages.