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 ]

Comments by ChessShogi

EarliestEarlier Reverse Order LaterLatest
Tenjiku Shogi. Fire Demons burn surrounding enemies, Generals capture jumping many pieces. (16x16, Cells: 256) [All Comments] [Add Comment or Rating]
A. M. DeWitt wrote on Fri, Jun 14, 2024 07:49 PM UTC in reply to François Houdebert from Wed Jun 12 05:44 AM:

This looks good for the most part. A couple things I would like to point out though:

Your Fire Demon graph does not match any of the descriptions Tenjiku players use.

Your Vice General graph does not show the range-jumping properties like the other jumping General graphs do, so people might assume it is a normal slider.

The rules forget to mention the restriction against jumping over a King or Prince.


A. M. DeWitt wrote on Sat, Jun 15, 2024 01:31 AM UTC in reply to François Houdebert from Fri Jun 14 08:49 PM:

The Fire Demon was always depicted with diagonal slides, which your graph lacks.

Also, it seems you missed the graph for the Free Eagle. The preset on CVP uses the same move described in this page.


A. M. DeWitt wrote on Sat, Jun 15, 2024 04:24 PM UTC in reply to François Houdebert from 06:23 AM:

The Fire Demon graph looks good. It doesn't match the move described on this page, but this is acceptable due to the lacunae in the historical documents.

For the Free Eagle graph, it seems you just copied the Lion Hawk's diagram and removed some Lion move arrows. To clarify, the Free Eagle's "diagonal moves of the Lion" means it can move as a Ferz (one square diagonally) up to twice per turn, but otherwise has all the Lion move options that this implies. Oh, and don't forget the orthogonal and diagonal slides, which are always present for the Free Eagle.

If you need an easy reference for this move you can click on the Free Eagle in the Interactive Diagram.

rule to document the set view of tenjiku in jocly

Link quote


A. M. DeWitt wrote on Sat, Jun 15, 2024 08:08 PM UTC in reply to François Houdebert from 04:47 PM:

The Free Eagle graph, at least for the move described on this page, which you use in your Rules document, should look like this:


Chu Shogi. (Updated!) Historic Japanese favorite, featuring a multi-capturing Lion. (12x12, Cells: 144) (Recognized!)[All Comments] [Add Comment or Rating]
A. M. DeWitt wrote on Mon, Jun 24, 2024 02:19 PM UTC:

@H. G. Muller,

It's a shame that the position isn't given for tsumeshogi B23 in your MSM Errata B page. It sounds like it would be a fascinating problem, especially since it involves a Kirin deferral, but all that is given are tiny snippets of the solution. If given the FEN or a picture of the position, I can have HaChu solve it like I did with B15, and then compile the problem in the Chu Shogi Applet I made, which compiles all the tsumeshogis from your MSM Errata pages that give the position and have known solutions under the historic rules.

I've made 2 tsumeshogis involving Kirin deferrals (series MD in the Applet's tsumeshogi folder), but they are embarrassingly simplistic. Having B23's position would eliminate the need for the MD series, as it would showcase a much more elegant example of Kirin deferral.


A. M. DeWitt wrote on Mon, Jun 24, 2024 06:03 PM UTC in reply to H. G. Muller from 05:27 PM:

4+A1gk2f1/6s2+P1l/1+H1n4r1e1/5N3mp1/5xpO4/11+L/9Q2/12/3+v8/12/12/12 w - 0 1

Thanks. Once I find the correct line to in order to reach get the mate in 8, I can compile this problem and delete the MD series (which is embarrassingly simplistic by B23's standards).

At that time the MSM was my only source for these problems, and it is a copyrighted source (which also contains the FENs).

I did make sure to cite my sources for the tsumeshogis (which you can find in the  "0 - Chu Shogi Tsumeshogi Sources" PDF File in the Applet's tsumeshogi folder.) However, since there is a legal precedent that a Chess position cannot be copyrighted, I did not bother asking for permission from anyone before compiling the tsumeshogis, since the ruling, which presumably extends to Chess variants, would effectively consider the positions to be in the public domain.

I also fixed certain problems that needed it.


A. M. DeWitt wrote on Mon, Jun 24, 2024 07:32 PM UTC in reply to H. G. Muller from 05:27 PM:

I ran the position throu Hachu, and it wasn't able to find a mate with the FEN you provided, even after the Kirin move. After

1. +Ah9 Mxh9 2. +Pi11 Rxi11 3. +Lh11 Gxh11 4. +Hd12 Nxd12 5. Oh10= Xxh10 6. Qxd12 +Vxd12 (I think this is right, please correct me if I am wrong),

Gote's +VM guards the d12-l4 diagonal preventing a mate from occuring, resulting in

7. Nf11 Ki12 8. Nxg11,g12 Kj12 9. Nxh11,h12 Kk11 10. Nxi11 Kl10 11. Nxk12 Kl9 12. Nxl11,k11 Kk8 13. Nxk10,j10 Kj7 14. Nxk9,l8 Ki6 15. Nk7 Kh5 (keeps the Lion away from the vital SM guarding the 9-rank) 16. Nj7 Kg6 17. Ni8 Kf7 (guards all possible checking squares that would result in mate, with help from the +VM and PH) 18. Nh7 Ke8 19. Nxg8 Kd9 20. Nf7 Kc10 21. Ne8 Kb11, after which no mate is possible.

However, if the +VM on d4 is replaced with a +RC, it works!

4+A1gk2f1/6s2+P1l/1+H1n4r1e1/5N3mp1/5xpO4/11+L/9Q2/12/3+a8/12/12/12 w - 0 1

My guess is there was a copying error when you went to copy the FEN code for B23. The new position results in

1. +Ah9 Mxh9 2. +Pi11 Rxi11 3. +Lh11 Gxh11 4. +Hd12 Nxd12 5. Oh10= Xxh10 6. Qxd12 +Axd12 7. Nf11 Ki12 8. Nxg11,g12 Kj12 9. Nxh11,h12 Kk11 10. Nxi11 Kl10 11. Nxk12 Kl9 12. Nxl11,k11 Kk8 13. Nxk10,j10 Kj7 14. Nxk9,l8 Ki6 15. Nk7 Kh7 16. Ni5 Kh8 17. Ni6 Kg9 18. Nh7 Kf10 19. Nxg8 Ke11 20. Nxh9,g9 Kd10 21. Ne8 Kc11 22. Nc9 Kc12 23. Nc10 mate.

 


A. M. DeWitt wrote on Mon, Jun 24, 2024 09:05 PM UTC in reply to H. G. Muller from 07:48 PM:

Sorry, I again misinterpreted HaChu's scoring. Which was indeed such that there was no mate in 16, but that the checks could only be kept up for 17 moves. So you are probably right about the Flying Ox/Whale copying mistake. The MSM clearly depicts a Flying Ox in the diagram for this tsume puzzle, though.

My guess is that the designer did not anticipate the Flying Ox's diagonal move being problematic, rather than it being a copying error, since the kanji for the Ox and Whale are vastly different. Of course, what's important is that the problem is fixed and solved.

Not  sure if you still update the hgm.nubati site anymore, but feel free to further discuss this problem in the MSM Errata B if you want (If you do, I'd recommend having a picture of the position).

P.S. I've updated the Applet, deleting the MD problems and solutions and adding B23, as well as citing our comments for B23's source (the MSM citation is already covered by the MSM Series B citation).


Different Pawns Random Chess. Missing description[All Comments] [Add Comment or Rating]
A. M. DeWitt wrote on Fri, Jun 28, 2024 10:14 PM UTC:

This page looks good enough to be approved, once I make a few changes (adding a setup image and images for the pawns).


Maka Dai Dai Shogi. Pieces promote on capture, some to multi-capturing monsters. (19x19, Cells: 361) [All Comments] [Add Comment or Rating]
A. M. DeWitt wrote on Wed, Jul 3, 2024 02:38 AM UTC in reply to Vighnesh Jadhav from Fri May 10 06:13 AM:

I have changed all pieces with Lion Dog moves so that they actually move like the rules say they do. However, I did not include the forward-forward-back option for any of them. This usually won't matter, but it does matter if they capture multiple contageous pieces (DV/DS/TK/BS) at once with their Lion Dog move, in which case the piece promotes to the last piece captured, but such a situation is rare enough that this might not be needed in an actual game.

However, if I figure out how to tweak the promotion code so that this is possible without breaking the existing code, I may add the forward-forward-back option for completeness.


Dai Dai Shogi. Historical large Shogi variant. (17x17, Cells: 289) [All Comments] [Add Comment or Rating]
A. M. DeWitt wrote on Wed, Jul 3, 2024 02:59 AM UTC:

I fixed the incorrect piece moves and the promotion code bug in the diagram and changed the Furious Fiend to reflect its move in Maka Dai Dai Shogi.


Interactive diagrams. (Updated!) Diagrams that interactively show piece moves.[All Comments] [Add Comment or Rating]
A. M. DeWitt wrote on Wed, Jul 3, 2024 12:57 PM UTC in reply to H. G. Muller from Thu Jun 20 12:25 PM:

If the morph could contain a symbol for forced non-promotion (which, unlike an indicated no-op, would then suppress any promotion specified in the captureMatrix), you could simply use that to suppress the capture-driven promotion on an arbitrary part of the board.

Perhaps this can just be a forced no-op, as a non-promotion would just leave the piece as is.

Also, having the forced Shogi promotion and promotion with choice parameters available in captureMatrix would be nice as well. However, you would need to use a different symbol for the forced Shogi promotion there, since ^ is already used for hopping restrictions (I think the # sign would be a good choice).


Featured Chess Variants. Chess Variants Featured in our Page Headers.[All Comments] [Add Comment or Rating]
A. M. DeWitt wrote on Wed, Jul 3, 2024 07:43 PM UTC:

@Fergus,

A new month has started.

I see you have started to put links to supporting sites. However, it is not super clear to me that these links are separate from the name of the game, so I might do some editing to make things a little more organized and easier to read.

My plan is to put the supporting links in square brackets to separate them from the name, and add a legend explaining what .

P.S. Under the current rules for featured variants, I'm not sure if Seireigi qualifies. It satisfies rules 1, 2, and 4 easily, but I'm on the fence for if a "fairly strong computer" clause in rule 3 is satisfied. It depends on whether you consider Jocly a fairly strong computer oppoenent (Ludii plays terribly, so no need to consider it).

 


Interactive diagrams. (Updated!) Diagrams that interactively show piece moves.[All Comments] [Add Comment or Rating]
A. M. DeWitt wrote on Thu, Jul 4, 2024 06:12 PM UTC in reply to H. G. Muller from Wed Jul 3 08:56 PM:

Oh...I forgot about that.


Featured Chess Variants. Chess Variants Featured in our Page Headers.[All Comments] [Add Comment or Rating]
A. M. DeWitt wrote on Fri, Jul 5, 2024 08:23 PM UTC in reply to Fergus Duniho from Thu Jul 4 01:21 AM:

I just played my first game of Seireigi against Jocly, and I beat it easily. It played very poorly, which is to be expected given that this is coded in JavaScript, and Shogi-like games are already more difficult for a computer program to play thanks to drops greatly increasing the moves to consider.

I suppose this is why it plays such one-sided games of Chu Seireigi against itself...

Okay, you could try that.

I know I get caught up in my own projects and don't remember to do the featured variant until the last minute or later. It would help to have more nominations of eligible games or for people to work on adding support for games that are not fully eligible yet. Let's start thinking about what we can do for next month now.

We could make that last part easier, by having some sort of database and a script for adding featured variants. It's only an idea though, so I'll stick to editing the page in WinSCP.

[Edit] Added square brackets encapsulating supporting links.


Chu Shogi. (Updated!) Historic Japanese favorite, featuring a multi-capturing Lion. (12x12, Cells: 144) (Recognized!)[All Comments] [Add Comment or Rating]
A. M. DeWitt wrote on Fri, Jul 12, 2024 11:54 AM UTC in reply to Aurelian Florea from Fri Jun 14 06:41 AM:

It seems to me that capturing a protected lion by a lion is an available move as long as the diagram understands. Anyway I won't do it and I imagine the AI does not do it either.

I am working on making display of Lion trading restrictions possible in the diagram as a side project. I recently found a way to get the coordinates and pieces from the last move of a game, which will allow enforcement of the counter-strike rule. Still not sure how to do the bridge-capture rule though...

[Edit] Successfully implemented the counter-strike rule in my prototype.


A. M. DeWitt wrote on Fri, Jul 12, 2024 06:37 PM UTC in reply to H. G. Muller from 03:18 PM:

Turns out my code was causing bugs with Gote's Whale highlights. So I removed the Anti-Lion-trading code and cleaned up extraneous code in my applet.

It would be nice if we could add a gray highlight for the illegal Lion trading moves for the Chu diagram on this page, but I am not sure how to go about doing that.


Seireigi. Variant of standard Shogi with promotable Gold Generals, as well as more varied and animalistic promotions. (9x9, Cells: 81) [All Comments] [Add Comment or Rating]
💡📝A. M. DeWitt wrote on Fri, Jul 12, 2024 06:47 PM UTC in reply to Daniel Zacharias from Sat Jul 6 05:57 PM:

Not sure how that is possible since the diagram clearly defines the Tokin has having the p2 image instead of the p image.

Maybe refresh your browser cache?


💡📝A. M. DeWitt wrote on Fri, Jul 12, 2024 06:50 PM UTC in reply to Michael Taktikos from Sat Jul 6 05:51 PM:

I tried to load the Seireigi engine you put a link to, but I wasn't able to get it to work. It said it couldn't find the variants.ini file upon loading.


Chu Shogi. (Updated!) Historic Japanese favorite, featuring a multi-capturing Lion. (12x12, Cells: 144) (Recognized!)[All Comments] [Add Comment or Rating]
A. M. DeWitt wrote on Sat, Jul 13, 2024 01:43 PM UTC in reply to H. G. Muller from Fri Jul 12 08:45 PM:

Yeah...I think it's better to just leave it as-is, except maybe passing the full move to the AI, rather than just the origin and destination...but that's a topic for another day.


A. M. DeWitt wrote on Sat, Jul 13, 2024 03:36 PM UTC in reply to H. G. Muller from 02:48 PM:

You got most of it. However, I did find a few bugs involving the counterStrike highlights.

In this game, after the Soaring Eagle takes the Queen and then the Lion, the gray highlights are not displayed at all (General Case: double capture that captures non-Lion piece and then Lion):

1. e5 h8 2. De4 Dh9 3. Df5 Dg8 4. Dxf9+ Dxg4+ 5. +De8 +Dh5 6. Qg4 Qf9 7. +Dxf9xg10

In this game, the counter-strike highlight doesn't happen for all the Lions, but only for the piece type that was just captured:

1. f5 g8 2. Of4 Og9 3. Of6 Og7 4. Of8 Og5 5. Og9+ Of4+ 6. Ng5 Nf8 7. Ng7 Nf6 8. Qxf4 or fxf5

In this game, the counter-strike highlight highlights don't show at all for piece that have the option of proomoting after capturing a Lion:

1. f5 g8 2. Of4 Og9 3. Of6 Og7 4. Of8 Og5 5. Ne5 Nh8 6. Og9 Of4 7. j5 c8 8. Hk5 Hb8 9. h5 e8 10. Dh4 De9 11. Dg5 Df8 12. Dh6 De7 13. Di6 Dd7 14. Dxi8 Dxd5 15. Dxi9 Dxd4 16. Hxh8

Otherwise, thank you so much! This saved me a heck of a lot of time.


A. M. DeWitt wrote on Sun, Jul 14, 2024 01:46 PM UTC in reply to H. G. Muller from 09:38 AM:

All the cases I mentioned are fixed. I did find a couple more bugs though:

In this game, after the Soaring Eagle takes the Lion and then moves to a non-Lion square, the counter-strike highlights do not appear.

1. e5 h8 2. De4 Dh9 3. Df5 Dg8 4. Dxf9+ Dxg4+ 5. Gd2 Gi11 6. Ke1 Kh12 7. +Dg8 +Df5 8. +Dh9 +De4 9. +Dxg10xf11 or +Dxg10xh9

However, if Sente makes a random move (i.e. advancing the left edge Pawn w/ 9. a5) and Gote tries the same thing w/ 9... +Dxf3xg2 or +Dxf3xe4, the counter-strike highlights are displayed correctly.

In this game, after a Kirin takes a Lion and promotes to Lion, the counter-strike highlights erroneously appear on the newly promoted Lion:

1. Ne5 Nh8 2. f5 g8 3. Of4 Og9 4. Of6 Og7 5. Of8 Og5 6. Og9 Of4 7. Oxh8+

In this game, after moving the Lions adjacent to each other, the bridge-capture highlights still show even though the Lions are adjacent:

1. Ng5 Ng8 2. Ni6 Ni7


A. M. DeWitt wrote on Sun, Jul 14, 2024 11:50 PM UTC in reply to H. G. Muller from 06:44 PM:

Looks like everything is fixed as far as highlights go (The important part is that all illegal Lion-trading moves are highlighted as such). I have copied the updated betzaNew code to my Chu Shogi Applet.

[Edit] I added the line morph=| after the Pawn definition to allow Pawns to promote on the last rank on a non-capture.


A. M. DeWitt wrote on Tue, Jul 16, 2024 01:20 PM UTC:

There's a visual bug with CountRoyals() where it counts a piece with the protected/counterStrike property as royal if there are no true royals of the same color on the board. This probably has something to do with how values in the royalness array are interpreted within the function.

As per your recommendations, I did some testing with the AI, and I encountered a bug where the counter-strike rule is not being followed by the AI at all.

Case 1: Normal pieces

1. Nh5 Ne8 2. Ni7 Nd6 3. Ixd6

Responds with 3... Ixi7

Case 2-5: Multi-movers

1. e5 h8 2. De4 Dh9 3. Df5 Dg8 4. Dxf9+ Dxg4+ 5. +Dg8 +Df5 6. +Dh9 +De4 7. Gd2 Gi11 8. Ke1 Kh12

Case 2: Normal move

9. +Dxg10

Responds with 9... +Dxf3xe2

Case 3: Igui

9. +Dxg10xh9

Responds with 9... +Dxf3xg2

Case 4: Double capture, Lion captured on first move

9. +Dxg10xf11

Responds with 9... +Dxf3xg2

Case 5: Double capture, Lion captured on second move

9. +Dxi8 +Dxd5 10. He4 Hh9 11. +Dxh9xg10

Responds with 11... +Dxe4xf3

Case 6: Capturing two Lions

1. f5 g8 2. Of4 Og9 3. Of6 Og7 4. Of8 Og5 5. Og9+ Of4+ 6. +Og7 +Of6 7. +Og6 +Of7 8. +Of4 +Og9 9. h5 e8 10. Hxd8 Hxi5 11. He9+ Hh4+ 12. +Hf8 +Hg5 13. +Hxg8 +Hxf5 14. Gd2 Gi11 15. Ke1 Kh12 16. +Hxg9xg10

Responds with 16... +Hxf4xf3

Case 7: Kirin promotion exception

1. f5 g8 2. Of4 Og9 3. Of6 Og7 4. Of8 Og5 5. Ne5 Nh8 6. Og9 Of4 7. Oxh8+

Responds with 7... Oxe5+


A. M. DeWitt wrote on Tue, Jul 16, 2024 09:36 PM UTC in reply to H. G. Muller from 07:52 PM:

Thanks for fixing this! Now the ID's AI plays Chu Shogi properly.

I did notice a visual bug with CountRoyals() where it counts a piece with the protected/counterStrike property as royal if there are no true royals of the same color on the board. This probably has something to do with how values in the royalness array are interpreted within the function.

Not a big deal for normal diagrams, but may affect highlights of diagrams where one side has no royals, like those of tsume problems. Fixing it is not really a high priority for me, but I figured I should let you know anyway.


25 comments displayed

EarliestEarlier Reverse Order LaterLatest

Permalink to the exact comments currently displayed.