Comments/Ratings for a Single Item
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:
- p 8g-8f 1... P 8c-8d
- n 9i-8g 2... N 9a-8c
- n 8g-7e 3... N 8c-9e
- n 7e-8c; +n-dest 4... N 9e-8g; +N-dest
- +n 8c-9b 5... +N 8g-9h // - bCapture- -
- s 8i-9h 6... B*8g // - Check! -
- s 9h-8g 7... P 4c-4d
- b*9h
2 comments displayed
Permalink to the exact comments currently displayed.
Please provide a link to the code that isn't working.