Check out Atomic Chess, our featured variant for November, 2024.


[ 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/Ratings for a Single Item

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]
📝H. G. Muller wrote on Sat, Mar 9 09:43 PM UTC in reply to A. M. DeWitt from Fri May 26 2023 05:53 PM:

I created a new version of the Interactive Diagram script, which currently is only used by the Tenjiku Shogi diagram to which this is a reply. It uses a different method for selecting Shogi promotions, and I would like some feedback on whether this is better than the old method ("Promote? yes/no" links above the board), or that it just is confusing. What happens now is that the destination and a square next to it get highlighted in red, and display the two pieces between which you must choose. Clicking one of those then completes the move. So double-clicking the destination is enough to promote.

The AI is now also searches deeper on lines with checks in them, with as a consequence that it even sees the mate-in-2-threat in Tenjiku Shogi after 1.j6 SEn11 2.BGi6 at a setting of 2 ply.

The I.D. (at 2.5 ply) beat Jocly (at 10 min) at the Modern Tenjiku Shogi correspondence championship!

[Edit] An alternative method for the promotions is to define special highlight markers for promotion and deferral, rather than highlighting by (red) color and displaying the pieces to choose between. That could be less confusing than just seeing pieces appear that don't belong there. The problem is that square-covering markers would have to be dependent on the square size that is in use. But using a red disk with a + on it for promotion, and a green one with an = for deferral, which just fit into a 33x33 cell might be usable.


A. M. DeWitt wrote on Mon, Mar 11 03:18 PM UTC in reply to H. G. Muller from Sat Mar 9 09:43 PM:

I think the new system is much better, but some instructions at the top would also help (e.g. "Click on icon of piece of choice" for the current system).

It may also help to have a unique highlight color for the promotions in the current system, such as magenta or the blue you use for Chess-style promotions.


Florin Lupusoru wrote on Mon, Mar 11 03:28 PM UTC:
  • c1, n1 Ferocious Luopard (FvW)

I hope, you meant to say Leopard. 


📝H. G. Muller wrote on Wed, Mar 13 12:52 PM UTC in reply to Florin Lupusoru from Mon Mar 11 03:28 PM:

I now improved the new Diagram script for recognizing checkmates faster, and it now deals with the opening threats 1.Pj6 and 1.Pj6 SE11n 2.BGi6 at 2.5 ply. It also punishes the wrong defense 1.Pj6 o11?

This version uses marker symbols for indicating the promotion/deferral choice. What do you think?


A. M. DeWitt wrote on Wed, Mar 13 05:31 PM UTC in reply to H. G. Muller from 12:52 PM:

Hmm...I think simply showing the promotion options with a highlighted background is better. The plus and minus don't really tell me what my choices are (they are basically covering up the images), but do better at showing that a promotion option exists.

Personally, I'd omit the markers and highlight the background with the same color that is used for Chess-style promotions (#8080FF), while also showing instructions at the top (e.g. "Click icon of piece of choice").

Perhaps the color for promotion highlights could even be set with a parameter (e.g. promoHighlight=#8080FF) in case the selected board shades are too similar to the default color.

P.S. Also, it would be really nice to be able to deselect a piece in the holdings like you can with pieces on the board. Currently, this is not possible.


📝H. G. Muller wrote on Wed, Mar 13 08:24 PM UTC in reply to A. M. DeWitt from Fri May 26 2023 05:53 PM:

OK, how about this?


A. M. DeWitt wrote on Thu, Mar 14 01:20 AM UTC in reply to H. G. Muller from Wed Mar 13 08:24 PM:

Much better.

However, I did notice a bug that causes the promotion choices to replace pieces on the squares they are shown on if you select something other than a promotion choice.

Replication Example: Have a Rook General capture the opposing Rook General, and then when the promotion options show up click on any occupied space other than the highlighted squares.


📝H. G. Muller wrote on Thu, Mar 14 07:34 AM UTC in reply to A. M. DeWitt from 01:20 AM:

However, I did notice a bug that causes the promotion choices to replace pieces on the squares they are shown on if you select something other than a promotion choice.

OK, fixed that.

Finding the mate threats is also significantly sped up in this version, by the use of a mate-killer heuristic: once it finds a checkmate it searches the same sequence of its own moves first in order to refute alternative opponent moves. As in large variants almost all moves do the same (namely nothing to address the problem), that makes their refutation almost optimal, and partly compensates for the slowdown by lines with checks in them being searched deeper.

The search algorithm now extends the depth a full ply for the first check evasion it tries, (at any depth, not just at the horizon), and half a ply for alternative  check evasions. After 1.j6 it now finds 1... SEn11 after 1.6, 3 of 4.6 sec at 1.5/2/2.5 ply. After 2.BGi6 it then finds 2... m11 in 12 or 33 sec (2/2.5 ply). After 1... o11? it finds VGn9! in 8.6 or 14 sec (2/2.5 ply). Not yet with a mate score, but because it sees the opponent has to sac its GG to push the mate over the horizon. At 3 ply it does get the mate score in 18.6 sec.

[Edit] Oh, and the Diagram had a bug. FD and +WB did not burn when capturing other FD, because there was one @ to few in their row of the capture matrix (for the empty square). Fixed that too.


A. M. DeWitt wrote on Mon, Jun 3 01:53 PM UTC:

The Wikipedia page on this game was changed to reflect your remarks on the range-jumping rankings to allow jump-capture of royalty. So I will do the same here. The GC preset already reflects this.

I will also make an interactive diagram with your pieces and put it on the page, and fix some typos I found.

[Edit]: Update of article successful. Working on the Interactive Diagram.


A. M. DeWitt wrote on Mon, Jun 3 05:38 PM UTC:

Interactive Diagram successfully inserted. However, Water Buffalos that promote to Fire Demon immediately burn surrounding enemies, which should not happen. Is there a way I can fix this without needing to modify the source code itself?


📝H. G. Muller wrote on Mon, Jun 3 05:51 PM UTC in reply to A. M. DeWitt from 05:38 PM:

I am not so sure this should not happen. I am in fact pretty sure the historic rules were that burning would occur in this case. Any other rule open a can of worms in terms of inconsistencies, and additional rules needed to resolve those..


A. M. DeWitt wrote on Mon, Jun 3 06:21 PM UTC in reply to H. G. Muller from 05:51 PM:

Alright then. I will revise this page and the GC preset to reflect this.


A. M. DeWitt wrote on Tue, Jun 4 08:43 PM UTC:

Since this page and the corresponding preset was changed to reflect the current consensus, I will update Nutty Shogi's page and preset to match, since it is based on Tenjiku Shogi.


François Houdebert wrote on Sun, Jun 9 06:26 PM UTC:

The move of the fire demon is different between jocly and Interactive diagram.

It seems to me that the vertical movement was a deliberate choice, even if it's different on some sites (wikipedia). I don't know if the consensus has changed, but it would be nice to harmonize the two implementations.


A. M. DeWitt wrote on Tue, Jun 11 11:37 PM UTC in reply to François Houdebert from Sun Jun 9 06:26 PM:

Well, this game has the problem of having lacunae in the historical sources. The current Tenjiku Jocly preset uses the ruleset from Richard's PbEM server.


François Houdebert wrote on Wed, Jun 12 05:44 AM UTC in reply to A. M. DeWitt from Tue Jun 11 11:37 PM:
I made a little rule to document the set view of tenjiku in jocly with graphs of the moves.
This can help you get started on tenjiku when you know chu shogi.
If you are interested, you can use it.

A. M. DeWitt wrote on Fri, Jun 14 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.


François Houdebert wrote on Fri, Jun 14 08:49 PM UTC in reply to A. M. DeWitt from 07:49 PM:

I made a quick modification for Vice General graph and the jumping restriction (same link).

I'm not sure I understood the remark about the fire demon : the graph reflects the movement chosen in the implementation and the icon corresponds to the latest sprites to my knowledge (included in the zip). Concerning the choice of movement, I also noticed that there were several versions.

We'd probably have to make a choice at the level of chessvariant for reasons of consistency. Personally, I can't say which one is best for the game.

 


A. M. DeWitt wrote on Sat, Jun 15 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.


François Houdebert wrote on Sat, Jun 15 06:23 AM UTC in reply to A. M. DeWitt from 01:31 AM:

Indeed, I made the correction (same link).

Thanks


A. M. DeWitt wrote on Sat, Jun 15 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


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

Do you like the graph better in that version ?


A. M. DeWitt wrote on Sat, Jun 15 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:


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

Correct. I keep the image


📝H. G. Muller wrote on Sun, Jun 16 05:38 AM UTC in reply to A. M. DeWitt from Sat Jun 15 08:08 PM:

The hit-and-run captures are not indicated in this move diagram. Note there is no need to squeeze all possible moves in a single diagram, in a rules explanation. For strongly overlapping moves doing so would result in indecipherable spaghetti. Much better to use as many diagrams as is needed to make each of those clear and easy to understand.

In the Interactive Diagram the move diagrams initially only indicates plain (non-)captures, plus potential hopper mounts and locust victims. The destinations of the latter only appear when you materialize an opponent piece on them by hovering/touching. I think that in the case of static diagrams it would be best to provide a separate diagram for cases where presence of a piece is needed to activate a move to a square elsewhere, and only indicate the squares where this can happen by a special marker symbol in the primary diagram. Or even with a background color, so they can combine with plain moves to the same square.

Of course we could consider including interactive move diagrams in Jocly rule descriptions, similar to those that can be summoned in the Interactive Diagram.


25 comments displayed

EarliestEarlier Reverse Order LaterLatest

Permalink to the exact comments currently displayed.