[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]
Comments/Ratings for a Single Item
Please provide a link to the code that isn't working.
2 comments displayed
Permalink to the exact comments currently displayed.
A few months ago (perhaps a year or more), the code for shogi was modified. We now seem to have special variables like pawn-range etc.
The code I copied and modified many years ago does not seem to be working. Below is an error message below that I got using my old code where b is a black bishop, when I attempt to do a drop I seem to get the error message The move MOVE: b*9h ain't well-formed.
Any suggestions on how I should correct this?
Array ( [0] => MOVE: [1] => b [2] => * [3] => 9h )
ILLEGAL: b*9h on turn 8:
The move MOVE: b9h ain't well-formed. b is a coordinate. So should be a hyphen.
Go back with your browser's BACK button, reload the page, and try again.
For diagnostic purposes, here is the full movelist: