The beginning of The Rule of Ready

Discussion on on-line and off-line mahjong softwares.

Moderator: Shirluban

Post Reply
kylone
Fresh Reacher
Fresh Reacher
Posts: 31
Joined: Mon Aug 17, 2009 2:02 pm
Location: Lincoln, NE

The beginning of The Rule of Ready

Post by kylone » Mon Sep 30, 2013 7:21 pm

A couple of years ago, I talked about making a Japanese Mahjong game.
Well, I finished my Computer Science degree, and have gotten some professional experience.

I felt it was time, so I've started an Open Source project on making one.
I've named it The Rule of Ready.

I'm posting about the project on codeproject.com.
The first artile is at http://www.codeproject.com/Articles/659 ... dy-Project.

I'm hosting the source code at http://ruleofready.codeplex.com.

I'm still working on the core of the game, so there's not too much to see yet.

diddysinatra
Fresh Reacher
Fresh Reacher
Posts: 23
Joined: Thu Aug 01, 2013 6:07 am

Re: The beginning of The Rule of Ready

Post by diddysinatra » Tue Oct 01, 2013 3:43 am

Hi There,

I'm pretty far along in completing my game logic (I'm making a game too!), so I'll post contributions here whenever I can. Gotta support open source!

zzo38
Senior Reacher
Senior Reacher
Posts: 162
Joined: Sun Mar 15, 2009 2:17 am

Re: The beginning of The Rule of Ready

Post by zzo38 » Sat Oct 05, 2013 3:02 am

Do you plan to implement Washizu mahjong too?

kylone
Fresh Reacher
Fresh Reacher
Posts: 31
Joined: Mon Aug 17, 2009 2:02 pm
Location: Lincoln, NE

Re: The beginning of The Rule of Ready

Post by kylone » Sun Oct 20, 2013 6:58 pm

I'm definitely open to ideas. Washizu mahjong--if I remember right-- is from the Anime Akagi, has 3/4 of tile tiles see through. Is that right?

My second article is up: Toolsmithing. Also, I made a little test program to give my Shanten algorithm a workout. Here's some results:

(It's worth nothing that I'm not trying to find all of the possible waits just yet, I'm just giving some code a workout. How does this look?)

Code: Select all

Drawn Tiles (sorted):
    1  2  3  4  5  6  7  8  9 10 11 12 13
   2b 3b 4b 4b 7b 8b 8b 4c 5c 6c 9c 5d SW

Complete Sets: (3 tiles)
   4c 5c 6c

Pair and/or partial sets: (6 tiles)
   2b 3b  waiting on -->  1b 4b
   8b 8b  waiting on -->  8b
   4b 4b  waiting on -->  4b

1 set with only a single tile

Remaining tiles: (4 tiles)
7b 9c 5d SW

Shanten Number: 3

Code: Select all

Drawn Tiles (sorted):
    1  2  3  4  5  6  7  8  9 10 11 12 13
   1b 2b 3b 3b 7b 8b 1c 4c 2d SW NW WD GD

Complete Sets: (0 tiles)

Pair and/or partial sets: (6 tiles)
   1b 2b  waiting on -->  3b
   7b 8b  waiting on -->  6b 9b
   3b 3b  waiting on -->  3b

2 sets with only a single tile

Remaining tiles: (7 tiles)
1c 4c 2d SW NW WD GD

Shanten Number: 5

Code: Select all

Drawn Tiles (sorted):
    1  2  3  4  5  6  7  8  9 10 11 12 13
   5b 8b 8b 5c 6c 8c 5d 7d 7d 8d 8d NW NW

7 pairs hand:
   7d 7d
   8b 8b
   8d 8d
   NW NW


Shanten Number: 2
I had to go through thousands of random draws to get a shanten for 13 orphans:

Code: Select all

Drawn Tiles (sorted):
    1  2  3  4  5  6  7  8  9 10 11 12 13
   1b 6b 8b 3c 9c 4d 6d 7d 9d EW WW RD GD

13 orphans:
   9c 1d 1c 9b GD WW WD 9d EW SW

Shanten Number: 4
And it looks like my 13 orphans detector is broke...

EDIT:
I think I fixed my 13 orphans algorithm (and text output)

Code: Select all

Drawn Tiles (sorted):
    1  2  3  4  5  6  7  8  9 10 11 12 13
   1b 1b 8b 1c 5c 6c 9c 6d EW SW WW RD GD

13 orphans: (9 tiles)
   1b 1b 1c 9c EW SW WW RD GD

Shanten Number: 4

User avatar
Barticle
Platinum Boarder
Platinum Boarder
Posts: 1391
Joined: Thu Apr 30, 2009 12:08 pm
Location: Ipswich, UK (and usually 一向聴地獄)
Contact:

Re: The beginning of The Rule of Ready

Post by Barticle » Sun Oct 20, 2013 8:25 pm

Section 11 of my Akagi DS guide explains Washizu's novel house rules including the money/blood payments.

http://www.gamefaqs.com/ds/935255-touha ... ensai/faqs

kylone
Fresh Reacher
Fresh Reacher
Posts: 31
Joined: Mon Aug 17, 2009 2:02 pm
Location: Lincoln, NE

Re: The beginning of The Rule of Ready

Post by kylone » Sun Oct 20, 2013 11:26 pm

Thanks for the reference. I completely forgot about the money/blood bit. That's a fairly story integrated rule set. The real question is how close is too close (to where I would have to get permission from Akagi's owners).

Admittedly, I've been musing about how I would implement some of the psychic powers that Saki characters have.

User avatar
Barticle
Platinum Boarder
Platinum Boarder
Posts: 1391
Joined: Thu Apr 30, 2009 12:08 pm
Location: Ipswich, UK (and usually 一向聴地獄)
Contact:

Re: The beginning of The Rule of Ready

Post by Barticle » Tue Oct 22, 2013 6:19 pm

Yes, even if you don't mention any character names, the Washizu rules are instantly recognizable so it could be thorny legal ground. Not only do you have the copyright holders, but the publishers of the various commercial Akagi video-games might take issue too. Another thing to consider is that you'd need to change or heavily supplement your user-interface so that the player can easily view the backs of their opponents' hands in addition to their own tiles.

If you avoid quoting names I think it'd be a lot safer to include generic special abilities such as luck buffs, highlighting dangerous tiles, etc etc, but powers like increased chance of rinshan wins and east-round dominance would be a little more obvious for Saki followers. :)

User avatar
Tom Sloper
Moderator
Moderator
Posts: 297
Joined: Sat Jan 17, 2009 8:01 pm
Location: Los Angeles, CA
Contact:

Re: The beginning of The Rule of Ready

Post by Tom Sloper » Wed Oct 23, 2013 1:30 pm

kylone wrote:The real question is how close is too close (to where I would have to get permission from Akagi's owners).
Barticle wrote:Not only do you have the copyright holders, but the publishers of the various commercial Akagi video-games might take issue too. ...
If you avoid quoting names I think it'd be a lot safer to include generic special abilities such as luck buffs, highlighting dangerous tiles, etc etc, but powers like increased chance of rinshan wins and east-round dominance would be a little more obvious for Saki followers.
The rules of the game are copyrighted only in regards to the wording of the rules. If the creators of that variant did not patent their rules, then it's safe to use the rules so long as the wording of the rules is not used. Special terminology should not be used if that terminology is original to the manga. So it would be unwise to call the ruleset "Washizu" - just call it "transparent tiles" and that should be all right. I own two sets of transparent tiles, and neither has the name "Washizu" on it, nor pictures of Akagi.

So, to avoid copyright infringement: don't borrow any wording or images.
To avoid patent infringement: don't use any gameplay if it's been patented.
To avoid trademark infringement: don't borrow any names or titles.
4649おねがいします。

Post Reply