Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
03531 Gameplay Minor N/A Nov 12, 2009, 06:24 Nov 17, 2009, 11:59
Tester nightsoil View Status Public Platform MAME (Official Binary)
Assigned To Resolution Open OS Windows XP (32-bit)
Status [?] Confirmed Driver
Version 0.135 Fixed in Version Build Normal
Fixed in Git Commit Github Pull Request #
Summary 03531: janjans1: [possible] Scoring bug.
Description In some cases, Fu points is not calculated correctly.
It causes a problem that Pinfu is added when it should not.

Possibly a core issue, and needs confirmation against the real machine.
Steps To Reproduce
Additional Information
Github Commit
Flags Possible
Regression Version
Affected Sets / Systems janjans1
Attached Files
png file icon pinfu.png (11,839 bytes) Nov 12, 2009, 06:24
png file icon anothercase.png (10,634 bytes) Nov 15, 2009, 02:14
png file icon tsumo_case.png (10,533 bytes) Nov 16, 2009, 17:23
png file icon wrong_fu_points.png (10,277 bytes) Nov 16, 2009, 17:24
Relationships
There are no relationship linked to this issue.
Notes
7
User avatar
No.05155
Fujix
Administrator
Nov 13, 2009, 01:16
Do you mean that Pinfu should not be scored because you did Ron with a 7-pin for 8-pin and 9-pin on the edge?

If so, generally it's not. But there are some local rules allowing it.
Although I think the judge algorithm is originally rude.
User avatar
No.05160
Fujix
Administrator
Nov 15, 2009, 01:29
Reminder sent to: nightsoil

Please check the note for your janjans1 report.
IMO, it is an original bug.
User avatar
No.05161
Fujix
Administrator
Nov 15, 2009, 02:20
I encountered another wrong Pinfu case, uploaded a screen shot.
Usually Pinfu is not scored for "Nobe-tan" hand.
User avatar
No.05162
nightsoil
Tester
Nov 15, 2009, 06:05
I wonder how familiar the programmer was with the rules of mahjong.
User avatar
No.05171
Fujix
Administrator
Nov 16, 2009, 17:44
edited on: Nov 16, 2009, 17:46
I did some more test of this game and it looks like Fu point calculation is incorrect. (Check this page for Fu points details -> http://homepage2.nifty.com/tagoon/html/fukeisan.html )

I uploaded two pictures, the first one is when I won with Tsumo. It addes 2 Fu points, The total is 30 Fu, no Pinfu scoring.

The latter one is wrong Fu points. It should be 20 (fuutei) + 10 (ron) + 4 (anko x 1) = 34 and 40 Fu round-up. But 50 points in this case.


Some kind of calc bug of the emulator core could cause a problem like this, but I'm not sure at all.
User avatar
No.05172
Haze
Senior Tester
Nov 16, 2009, 18:53
well they do run on a v60, and documentation on the v60 isn't great so compared to other cpus there is a slightly higher chance of it being some flag bug in the core but confirmation against the real machine would help before delving into that.
User avatar
No.05174
Fujix
Administrator
Nov 17, 2009, 11:59
I added a possible flag and made it confirmed status until we check against the real pcb.