[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]
Comments/Ratings for a Single Item
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
Permalink to the exact comments currently displayed.
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.