The Chess Variant Pages




[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Latest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Comments/Ratings for a Single Item

Later Reverse Order Earlier
Chu Shogi. Historic Japanese favorite, featuring a multi-capturing Lion.[All Comments] [Add Comment or Rating]
Fergus Duniho wrote on 2021-06-04 UTC

"Syntax Error on line 200

The last expression is 10f. In for or foreach, it must evaluate to an array."

This has been fixed.


dax00 wrote on 2021-06-04 UTC

I can't access my game.

"Syntax Error on line 200

The last expression is 10f. In for or foreach, it must evaluate to an array."


Daniel Zacharias wrote on 2021-04-07 UTC

thank you!


Fergus Duniho wrote on 2021-04-07 UTC

I'm having a problem with this preset where, when viewed from the second player's perspective, all the pieces but the kings are shown as black circles.

Okay, that's fixed.


Daniel Zacharias wrote on 2021-04-07 UTC

I'm having a problem with this preset where, when viewed from the second player's perspective, all the pieces but the kings are shown as black circles.


Adam DeWitt wrote on 2020-08-18 UTC

I fixed the preset. The option to pass the second part of a double move is now working properly.


Adam DeWitt wrote on 2020-08-18 UTC

From my testing, the bug you described doesn't seem to pop up in the other presets I made using similar code. But those presets included code for a piece called the Heavenly Tetrarch, which wasn't allowed to skip the second part of its igui move. This piece does not exist in Chu Shogi, so I removed that part of the code when making the preset.

[Edit] This bug is now fixed. The lines that told the code to exit the do loop early after passing the second part of a double move were placed too far in. In the other presets, they were in the correct spots, but I had forgotten to update their position after deleting the code preventing the Tetrarch from passing its igui move in the Chu Shogi preset.


Adam DeWitt wrote on 2020-08-18 UTC

I'll get to testing that bug right away.


dax00 wrote on 2020-08-18 UTC

Until Adam's preset is fixed, I don't see much of a choice but to use the non-enforcing preset. Puzzles me why an update would just make things worse.


dax00 wrote on 2020-08-13 UTC

It still says "You may not move more than one piece per turn" when trying to pass the second step of a lion move.


dax00 wrote on 2020-08-11 UTC

The preset has recently been changed in a way that makes it worse than it was before. Now, simply typing "pass" for the second leg of a move does not append to the first leg, nor does the newly added "pass" button work as it should. I liked how HGM handled it in his Mighty Lion Chess preset.


Adam DeWitt wrote on 2020-07-16 UTC

Your welcome. In case your wondering how I made the preset, I mostly copied code from the Tenjiku Shogi preset (which was based on the Suzumu Shogi preset) and modified it to suit the needs of Chu Shogi and the its sets. The hardest part was implementing the Lion trading rules. For those, I used a variable to check whether a Lion was captured or not, and then tested moves based on its value. For allowing a Kirin that had just captured a Lion to be taken, I simply used a flag to mark its spot and created an exception to allow it to be recaptured.


Greg Strong wrote on 2020-07-16 UTC

This has been done. Thanks again for the excellent preset!


Adam DeWitt wrote on 2020-06-12 UTC

Did you get my message?


Adam DeWitt wrote on 2020-07-15 UTC

@Greg Strong Sorry for the late response, but I just added a link the Alfaerie Style preset, so you are welcome to rename my page to 'Chu Shogi' and hide the other two pages with (non-rule enforcing) Chu Shogi presets.


Greg Strong wrote on 2020-06-12 UTC

This is a very nice preset!

Any objections if I rename this page to just "Chu Shogi" and hide the other two Chu preset launch pages?  I don't think there is really a reason to keep the other pages, and the other presets themselves are always available if anyone wants them.  But someone just looking to start Chu on Game Courier should see this page and not be confused by the others which have nothing to recommend them.


Fergus Duniho wrote on 2020-06-11 UTC

This is now published. I added some images of the boards and replaced the table with a flexbox. Initially, the drawdiagram.php script was not drawing the boards correctly, because there were some differences between how it did things and how Game Courier does them. I fixed it to behave more like Game Courier and got it to the point where it could draw the boards correctly.


17 comments displayed

Later Reverse Order Earlier

Permalink to the exact comments currently displayed.