Check out Smess, our featured variant for February, 2025.


[ 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 ]

Single Comment

Interactive diagrams. (Updated!) Diagrams that interactively show piece moves.[All Comments] [Add Comment or Rating]
A. M. DeWitt wrote at 04:06 PM UTC:

H. G.,

I think I may have an idea for how to handle drops with the Diagram's current limitations.

So you know how the Shogi GC Preset have areas to the sides of the board? I was thinking of using that along with the mU for drops in combination with the Tinker(move, distanceFromLastRank) script to do this, as well as a custome shade function for visual definition of each region.

So in the board definition you would make enough space for both the board and hand regions. In the board region pieces would move normally, and in the hand region they would move as mU (universal kleaper to empty square) to the board region. Upon capture pieces would be unloaded to the hand region rather than be put in the holdings (with the holdings acting as overflow if the hand fills up all the way). Pieces would be unable to move into the hand region since it is off the board.

I am currently testing out a Shogi diagram that implements this idea. I have most of it done except for the Pawn Drop Mate testing and the code that puts the pieces in the hand (or removes them when undoing moves).