Check out Makruk (Thai Chess), our featured variant for March, 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/Ratings for a Single Item

Earlier Reverse Order Later
Kagamigi. Shogi variant featuring pieces biased toward the center. (9x9, Cells: 81) [All Comments] [Add Comment or Rating]
💡📝Bob Greenwade wrote on Sun, Jan 21, 2024 08:05 PM EST:
files=9 ranks=9 promoZone=3 promoChoice= graphicsDir=/cgi-bin/fen2.php?s=50&t=Greenwade&w=F9F9F9&b=666666&p= squareSize=50 graphicsType= lightShade=#F0F080 darkShade=#AAAA50 symmetry=rotate firstRank=1 useMarkers=1 maxPromote=12 promoOffset=15 holdingsType=-1 royal=15 pawn:P:fW:shogipawn:a3,b3,c3,d3,e3,f3,g3,h3,i3 bishop:B:B:bishop:d1 rook:R:R:rook:f1 phoenix:PH:WA:phoenix:g1 kirin:KR:FD:kirin:c1 blue gecko:BG:frB4lbW2flFbrFfW:gecko--colorblue:b1 purple finch:PF:flB4brW2frFblFfW:finch--colorpurple:h1 silver general:S:FfW:silvergeneral:e2 left general:LG:FvrW:leftarrow--general:d2 right general:RG:FvlW:rightarrow--general:f2 left quail:LQ:fRbrBblF:quail--leftarrow:a2 right quail:RQ:fRblBbrF:quail--rightarrow:i2 left chariot:LC:fRflBbrBbW:leftarrow--chariot:a1 right chariot:RC:fRfrBblBbW:rightarrow--chariot:i1 king:K:K:king:e1 tokin:+P:WfF:shogipawn--graduation: dragon horse:DH:BW:bishopwazir: dragon king:DK:RF:rookferz: great dove:GD:BW3:bird: center standard:CS:RF3:flag--narrow: divine turtle:DT:KrBlbB:turtle--angel: divine sparrow:DS:KlBrbB:bird--angel: silver pashtun:+S:FfWAfD:silverpashtun: left army:LA:KrhQ:shield--leftarrow: right army:RA:KlhQ:shield--rightarrow: left tiger:LT:rhQlF:tiger--leftarrow: right tiger:RT:lhQrF:tiger--rightarrow:

💡📝Bob Greenwade wrote on Tue, Jan 23, 2024 10:53 PM EST:

This is updated with some of my latest icon additions, so unless I've missed something, all that's left is to figure out how to make promoted pieces demote upon being captured (if that's even necessary). Then I can move the Diagram into the main article, and it'll be ready to go.


A. M. DeWitt wrote on Wed, Jan 24, 2024 03:38 PM EST:

This looks good, aside from the lack of a Diagram in the Setup section. However, I must ask about this line in the promotion rule.

Promotion is mandatory upon reaching the furtherst row.

Does this apply to all pieces, or just the Pawns? If the former, it seems a bit random to me. Also, does this apply if the move starts on the back row?


💡📝Bob Greenwade wrote on Fri, Jan 26, 2024 12:14 AM EST:

For lack of any other comments, I've gone ahead and moved the Interactive Diagram into the main part of the article; this is, tentatively at least, ready to be published.


A. M. DeWitt wrote on Fri, Jan 26, 2024 05:00 PM EST:

This is updated with some of my latest icon additions, so unless I've missed something, all that's left is to figure out how to make promoted pieces demote upon being captured (if that's even necessary). Then I can move the Diagram into the main article, and it'll be ready to go.

Setting holdingsType=-1 in the Diagram definition takes care of these types of demotions automatically.

Also, you say promotion is mandatory upon reaching the last row. Does this promotion rule apply to all pieces or only to Pawns? If the former, does it also apply upon leaving the last row after a drop?


💡📝Bob Greenwade wrote on Fri, Jan 26, 2024 05:42 PM EST in reply to A. M. DeWitt from 05:00 PM:

Setting holdingsType=-1 in the Diagram definition takes care of these types of demotions automatically.

Ah, good. Nothing to worry about, then.

Also, you say promotion is mandatory upon reaching the last row. Does this promotion rule apply to all pieces or only to Pawns? If the former, does it also apply upon leaving the last row after a drop?

I should clarify that in the text. It only applies to Pawns, because an unpromoted Pawn on the last row is trapped.


A. M. DeWitt wrote on Sat, Jan 27, 2024 08:56 PM EST:

Your using the wrong file for the diagram. For the morph trick to work, you need to use the betzaNew.js file.

You can also put in this code between the betzaNew call and the diagram definition to achieve the same effect without needing to change the Tokin's ID (also requires betzaNew.js):

<script>
function pieceTinker(m, d)
{
  piece = m[-6] & 511;
  if((piece == 1) && d == 0) { m[-1] = (m[-6] & 1024 | piece + promoOffset); return 2; }
}
</script>


💡📝Bob Greenwade wrote on Sat, Jan 27, 2024 09:28 PM EST in reply to A. M. DeWitt from 08:56 PM:

I have it now as you said (and I feel a bit silly for not switching to the betzaNew), but I'm not seeing a difference. Maybe I have a couple of lines in the wrong order or something.


H. G. Muller wrote on Sun, Jan 28, 2024 02:17 AM EST in reply to Bob Greenwade from Sat Jan 27 09:28 PM:

I am not sure what is suppoed to not work here. Morphing should work both with betza.js and betzaNew.js; it is just the way you can interface witth custom scripting that is different. Any other difference would be unintended. Things have not been tested much with shogi promotions, so there could be bugs.


A. M. DeWitt wrote on Sun, Jan 28, 2024 09:57 AM EST in reply to Bob Greenwade from Sat Jan 27 09:28 PM:

It works, but the script only affects legal moves (the ones with highlights on the destination). I think you tried to move a Pawn from its starting position directly to the last rank, which isn't legal in an actual game, and so would not be affected by the script.


A. M. DeWitt wrote on Sun, Jan 28, 2024 10:05 AM EST:

Here's the reference pieces for the Mnemonic images.

https://www.chessvariants.com/membergraphics/MSchuseireigi/large-mnemonic-reference-pieces.zip


💡📝Bob Greenwade wrote on Sun, Jan 28, 2024 10:12 AM EST in reply to H. G. Muller from 02:17 AM:

All I'm trying to get to happen is for the pieceList to show the promotions along with the base forms. For example, where it currently says

Rook (f1; d9)

it would be more like

Rook (f1; d9) -> Dragon King

It's not a big deal, but it'd be nice, and I think it'd be helpful for the reader.


💡📝Bob Greenwade wrote on Sun, Jan 28, 2024 10:12 AM EST in reply to A. M. DeWitt from 10:05 AM:

Thanks, A.M.! :)


💡📝Bob Greenwade wrote on Sun, Jan 28, 2024 10:39 AM EST:

To make sure I'm doing this right, I experimentally made the Mnemonic icons for the Blue Gecko and Purple Finch -- the most challenging on the board for this.

If those look correct, then I can sit down in the coming week and make the full set.


A. M. DeWitt wrote on Mon, Jan 29, 2024 10:03 AM EST in reply to Bob Greenwade from Sun Jan 28 10:39 AM:

They're pretty close. However, if you want to stay true to the images I made, I should point out two things.

Firstly, you have three lines, indicating limited-range-5. Only the two outer-most of these lines are used for limited-range-4 in my reference piece for limited range.

Whenever a bulge transitions to a non-adjacent step, the border goes from straight to the rounded "hole" that indicates no move in  that direction. Take these images, for example:

Also, the piece list generated by the Interactive Diagram does not show the promotions. You have to enter those manually, like so (pieceType is the position of the piece in the list, starting at 1):

<ul>
<li onclick="ShowMoves(pieceType)">Insert HTML Here</li>
...
</ul>


💡📝Bob Greenwade wrote on Mon, Jan 29, 2024 10:13 AM EST in reply to A. M. DeWitt from 10:03 AM:

I keep forgetting that BG&PF are four spaces, not five. I don't know why I keep giving them five.

Rounded holes for non-adjacent: Got it.

As for the promotions, unless H.G. reprograms the pieceList function, it seems that I have a choice of doing without or writing out the list manually as you show. I'll stick with the former for now, but probably will end up with the latter.

Thanks for the feedback! :)


H. G. Muller wrote on Mon, Jan 29, 2024 11:56 AM EST in reply to Bob Greenwade from 10:13 AM:

It would certainly be good to have promoted types in the pieceList satellite element. But I am not sure that -> would be understood as promotion. Wrting out the text 'promotes to' would consume too much space, though. (And lack of space could be a show stopper anyway.) I suppose I could expand the (bluish) header message of the list for Diagrams that define a promoOffset to indicate that the promoted type follows.

It will have to wait until I have access to my PC again, rather than just a tablet.


💡📝Bob Greenwade wrote on Mon, Jan 29, 2024 12:23 PM EST in reply to H. G. Muller from 11:56 AM:

It will have to wait until I have access to my PC again, rather than just a tablet.

Roger that!*

*Translation: I hear and understand completely.


🔔Notification on Mon, Jan 29, 2024 09:48 PM EST:

The author, Bob Greenwade, has updated this page.


19 comments displayed

Earlier Reverse Order Later

Permalink to the exact comments currently displayed.