Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
03097 Gameplay Major Always Apr 7, 2009, 07:00 Apr 8, 2009, 19:50
Tester nightsoil View Status Public Platform MAME (Official Binary)
Assigned To Resolution Open OS Windows XP/Vista 64-bit
Status [?] Acknowledged Driver
Version 0.130 Fixed in Version Build Normal
Fixed in Git Commit Github Pull Request #
Summary 03097: jsk: [possible] Game will not allow an apparently valid checkmating move
Description To understand the problem, you need to have some knowledge of shogi.

Below you see a composite of two screenshots from jsk. I was trying to solve a shogi problem in one of the problem "books" in the game.

The first screenshot is at the beginning of the problem. As you can see, it is a mate in five moves. (By the Japanese count, "five moves" means three moves by one player and two moves by the other.)

The second screenshot is after this sequence of moves:

1) (Player) Silver (gin) to 2-2, promoting and giving check.
2) (Machine) Promoted Bishop (uma) takes the newly promoted Silver.
3) (Player) Gold (kin) to 1-3, giving Check.
4) (Machine) Promoted Bishop takes Gold at 1-3.

It appears to me that after these moves, Promoted Rook (ryuu) to 2-1 would be mate. However, the game will not accept it.
Steps To Reproduce Start the game and skip the tutorial. After the tutorial come some screens for selecting game options. On each of these (you will see three), select the right-hand option.

To save you time, I give you here solutions to the first two problems. The odd-numbered moves are yours; the others are the computer's response:

Problem #1:
1) Silver (gin) to 3-2
2) Silver to same
3) Bishop (kaku) to 2-1, promoting
4) Silver to same
5) Gold (kin) to 4-1

Problem #2:
1) Rook (hisha) to 3-3
2) Horse (uma) to same
3) Gold (kin) to 4-2
4) Horse to same
5) Gold to 2-2
Additional Information In the problem, the game assumes "2-1 Bishop" is correct.
Probably an original bug of the problem. Confirmation with PCB needed.
Github Commit
Flags Possible
Regression Version
Affected Sets / Systems jsk
Attached Files
png file icon whose-mistake.png (59,347 bytes) Apr 7, 2009, 07:00
png file icon 0000.png (26,287 bytes) Apr 7, 2009, 21:27
Relationships
There are no relationship linked to this issue.
Notes
4
User avatar
No.04155
Fujix
Administrator
Apr 7, 2009, 21:29
It doesn't repro here for me.
I followed your moves and the game accepted it as the correct answer as shown in the screenshot I uploaded.
User avatar
No.04161
nightsoil
Tester
Apr 8, 2009, 04:29
No, you did "ni ichi uma".

I tried "ni ichi ryuu". The bug is it won't take "ni ichi ryuu". (Or is it my mistake? I know I'm not a good shogi player, but I don't see any way out of this for Go-te.)
User avatar
No.04163
Fujix
Administrator
Apr 8, 2009, 08:41
Yes, your move should be a correct answer.
I think a problem with multiple answers is not legitimate, probably the game doesn't support it. Or, there may be a special rule that would affect this situation, though I don't know Shougi stuff very much.

I'm not 100% sure but I guess this would be a bug of the original (problem).
User avatar
No.04164
Haze
Senior Tester
Apr 8, 2009, 19:50
I think the only way to answer this one is for somebody to try it on the real machine, or for somebody to examine the game code. The Shogi game logic is controller by the additional CPU for this game.