Comments by ChessShogi
I am having a problem with the promotions in my Taishin Shogi preset. The problem occurs when I make a triple move with a piece with Lion Dog powers where all three parts move the piece to different squares and the third square is empty. The preset will exit with an error message stating that the promotion is illegal when it should be legal. Any help would be greatly appreciated.
The problem is happening in the bpromote and wpromote subroutines. The relevant errors have also been numbered to aid debugging. Also, the setup has been rearranged to allow quick access to moves that generate the error.
@Jean-Louis Cazaux You can't get a preset to show up in the Games to Play section just by creating it (Good thing too, otherwise it would have way too much stuff in it).
Go to the tab with your name and click Post Your Own Game in the drop-down menu. This will bring you to the prompt for creating your game's index information. You should prompt up top that asks "Is this the type of page you want to submit?" Click the link that says "Create Game Courier Preset." And the rest is just making the page and waiting for it to be approved.
@Jean-Louis Cazaux The wcastle and bcastle variables in your preset aren't set properly. If castling works exactly like it does in chess, wcastle/bcastle should be set to e2 i2/e9 i9, respectively. Other than that, I don't see any bugs.
I'm talking about your Very Heavy Chess preset. The f2/f9 and h2/h9 values in the wcastle/bcastle variables are unnecessary.
Indeed, using the original pieces would be ideal, but I do not know where the pictures are located. However, I can get pretty close to it using the path for Alfaerie pieces provided by the Interactive Diagram Designer.
If I can get the path of the directory for the Alfaerie for Metamachy set, that would allow me to use the intended piece graphics.
@H. G. Muller Question: What would the moving piece promote to in the scenario below?
A piece with Lion Dog powers captures a deva on the first square in a given direction, captures a dark spirit on the second square in that direction, then retreats to the first square.
The -|-|-|-> symbol may mean slide or move as Lion Dog (from the smaller Shogi variants) in the direction the arrow points, which I got from this article by Eric Silverman: Shogi variants: translation notes (I) | Dr Eric Silverman
I also have a question of my own: just to clarify, a Dark Spirit or Buddhist Spirit capturing a Deva or Teaching King, or vice versa, causes it, like other pieces, to convert to its victim? The notes clarify that, as expected, one of them would disappear, but don't make clear which one, and one could make a case imo for contageous pieces being immune to contageon themselves.
Yes, contagious pieces turn into the promoted form of their last contagious victim. So DV/TKxDS/BS results in promotion of the DV/TK to BS, and vice versa.
What happens if such pieces capture multiple contagious pieces is left unclear though, thanks to the situation where multiple contagious pieces are captured at once, which is not elaborated on in the historical texts. I assume the result would be the last contagious piece captured (This is what a Japanese Chu Shogi Association official said about the issue.
Thankfully, I managed to fix this by excluding forced promotions from the move string.
I cannot access the Edit script for the Taishin Shogi preset to fix a problem that has popped up.The error that shows is the following:
Syntax Error on line 1157
The case includes whitespace in it. Are you missing a colon after the case label?
There is a double space in between +fy and rd on that line. It should be a single space, but I cannot access the preset editor to fix the error. Any help would be much appreciated.
Edit: The same error pops up in the Hook Shogi preset, albeit on a different line.
I am making an experimental GC Preset for Cannon Shosu Shogi. Everything seems to be working properly, except for the fact that the Kings are unable to move. The Black King is only able to move on the first turn. Any help would be greatly appreciated.
Sorry about that. Here it is.
Cannon Shosu Shogi on the Chess Variants Game Courier
Also, Daniel Zacharias found that if you enter King moves manually, it works fine. He thinks the problem may be in the stalemated subroutine. When I coded this preset, I removed the checkmated subroutine used in my other presets to simplify the code a bit. so that would make sense.
I managed to solve the King's move display issue by using sub checked cond == #from #king #to #king in the relevant places in the stalemated subroutine. Afterwards it gave a weird error where the King was in check after moving both Kings, but after adding a few lines to force update the k and K variables in the Post-Move sections, the preset is now working perfectly. Thank you for your help.
It seems the new handling of case is interfering with the display of the Preset Editor, at least for me. The link below is an example.
Edit: Taishin Shogi on the Chess Variants Game Courier
There is a double space in the case statement on the line where the error is.
The editor is working again. Thanks.
After 3+ years of experimentation and headaches, I have finally finished the ruleset for Suzumu Shogi. Now the only thing that could still be unfinished is deciding whether the Fire Demon (and by extension the Heavenly Tetrarch) should be able to slide in all 8 directions or not. Regardless, I am very happy with what I have come up with.
This page is now ready for approval.
Buffalo icon has been changed, and Rules section has been simplified.
Heavy Shako is ready (again).
Nice catch. I think that sliipped by because I copied the table from Yangsi before modifying it to describe the pieces in Heavy Shako.
So...yeah. This game has had its ups and downs - so much so that I decided to take a break and invent some billiards variants (my favorite of these is Snookerpool). I think the headaches were due to wanting to make the game layout identical to Tenjiku Shogi's. Now that I have gotten over that. I've decided to revive this game with a slightly different setup compared to Tenjiku, and go from there.
After all the ups and downs over 3+ years and a much needed break, I can finally say with certainty that Suzumu Shogi is done, except for maybe the rules for prevemting Fire Demon trading. The main changes are as follows:
- The initial setup is different compared to the version you played (you can delete that game if you want).
- The Heavenly Tetrarch now has the Fire Demon's burning ability in addition to its original move.
- The Fire Demon and Heavenly Tetrarch cannot be burned.
The GC preset is up to date. I am planning on removing the old GC piece sets and set groups and uploading new ones once I manage to make contact with Greg Strong and Ben Reiniger.
Fergus, you might want to update your hyperlinks, especially the link to the GC preset page for this game. Right now, it is not working because the page was moved.
Whenever I try to use a GC preset on a mobile device with a small screen (at least for Android) the board is excessively small, and in the case of images is misaligned. The presets work fine, but the fact that the boards are so small makes them nigh unplayable. The effect gets worse as the board gets larger.
25 comments displayed
Permalink to the exact comments currently displayed.
Banner Xiangqi is ready