Commit 39d48356 authored by Wolfgang Rohdewald's avatar Wolfgang Rohdewald

separate classes GatesOfHeaven and NineGates

parent ccd24eb8
......@@ -233,7 +233,7 @@ class ClassicalChinese(PredefinedRuleset):
points=20)
# option internal makes it not show up in the ruleset editor
self.mjRules.createRule(
'Nine Gates', 'FGatesOfHeaven', limits=1,
'Nine Gates', 'FNineGates', limits=1,
description=m18n(
'A concealed hand in one color 1112345678999 plus last tile of this suit (from wall or discarded)'))
self.mjRules.createRule(
......
......@@ -1095,6 +1095,9 @@ class GatesOfHeaven(StandardMahJongg):
yield tuple(melds), tuple(rest)
class NineGates(GatesOfHeaven):
pass
class ThirteenOrphans(MJRule):
def computeLastMelds(hand):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment