Check out Atomic Chess, our featured variant for November, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Comments/Ratings for a Single Item

Earlier Reverse Order Later
Shogi. Play the Japanese form of Chess with Jocly.[All Comments] [Add Comment or Rating]
📝H. G. Muller wrote on Thu, Jan 25 02:55 PM UTC in reply to A. M. DeWitt from Wed Jan 24 04:50 PM:

I did notice a bug in the drop-model, but not one that explanes exactly what you describe. The wrapper of cbApplyMove does demotion and testing for Pawn capture in the wrong order (lines 142 and 143). With as consequence that capturing a Tokin decreases the Pawn count for the file where it happens. So it should not matter in which file you promoted, but depend on where the Tokin was captured. As the Pawn count is updated incrementally, the error would persist for the rest of the game.


A. M. DeWitt wrote on Fri, Jan 26 02:53 PM UTC in reply to H. G. Muller from Thu Jan 25 02:55 PM:

I tested this description of the bug, and that looks to be exactly right. Would switching lines 142 and 143 help?

Also, does updating this require updating both the browser cache and CloudFare's cache in order for changes to show?

Edit: I also tested this with the other drop games. The bug also appears in Tori Shogi (Three Swallows instead of Two Pawns) but not in Mini Shogi.


2 comments displayed

Earlier Reverse Order Later

Permalink to the exact comments currently displayed.