Check out Grant Acedrex, our featured variant for April, 2024.


[ 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
Kagamigi. Shogi variant featuring pieces biased toward the center. (9x9, Cells: 81) [All Comments] [Add Comment or Rating]
🔔Notification on Tue, Jan 30 02:48 AM UTC:

The author, Bob Greenwade, has updated this page.


💡📝Bob Greenwade wrote on Mon, Jan 29 05:23 PM UTC in reply to H. G. Muller from 04:56 PM:

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.


H. G. Muller wrote on Mon, Jan 29 04:56 PM UTC in reply to Bob Greenwade from 03:13 PM:

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 03:13 PM UTC in reply to A. M. DeWitt from 03:03 PM:

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! :)


A. M. DeWitt wrote on Mon, Jan 29 03:03 PM UTC in reply to Bob Greenwade from Sun Jan 28 03:39 PM:

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 Sun, Jan 28 03:39 PM UTC:

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.


💡📝Bob Greenwade wrote on Sun, Jan 28 03:12 PM UTC in reply to A. M. DeWitt from 03:05 PM:

Thanks, A.M.! :)


💡📝Bob Greenwade wrote on Sun, Jan 28 03:12 PM UTC in reply to H. G. Muller from 07: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.


A. M. DeWitt wrote on Sun, Jan 28 03:05 PM UTC:

Here's the reference pieces for the Mnemonic images.

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


A. M. DeWitt wrote on Sun, Jan 28 02:57 PM UTC in reply to Bob Greenwade from 02:28 AM:

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.


H. G. Muller wrote on Sun, Jan 28 07:17 AM UTC in reply to Bob Greenwade from 02:28 AM:

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.


💡📝Bob Greenwade wrote on Sun, Jan 28 02:28 AM UTC in reply to A. M. DeWitt from 01:56 AM:

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.


A. M. DeWitt wrote on Sun, Jan 28 01:56 AM UTC:

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 Fri, Jan 26 10:42 PM UTC in reply to A. M. DeWitt from 10: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 Fri, Jan 26 10:00 PM UTC:

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 05:14 AM UTC:

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 Wed, Jan 24 08:38 PM UTC:

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 Wed, Jan 24 03:53 AM UTC:

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.


💡📝Bob Greenwade wrote on Mon, Jan 22 01:05 AM UTC:
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:

19 comments displayed

Later Reverse Order Earlier

Permalink to the exact comments currently displayed.