Check out Omega Chess, our featured variant for September, 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

Earlier Reverse Order Later
中象棋(Middle Xiangqi). Missing description[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Mon, Apr 20, 2020 01:47 AM UTC:

The setup diagram is inaccessible. Be sure to upload any graphics you use to this site and link to them from here. Graphics on other sites are out of our control and can be unreliable.


Greg Strong wrote on Thu, Aug 27, 2020 09:28 PM UTC in reply to Daphne Snowmoon from 07:28 PM:

Since these pieces have all been updated, you can change graphicsDir and graphicsType to:

graphicsDir=../graphics.dir/alfaeriePNG/
graphicsType=png

This will provide better looking, anti-aliased graphics.


💡📝Daphne Snowmoon wrote on Fri, Nov 13, 2020 08:21 AM UTC in reply to Daphne Snowmoon from 08:15 AM:

I want to make the Palace, River, and General face-to-face impossible of Xiangqi, But I don't know how to make it. Does anyone know how to make them?

(+ Does anyone know how to make defeat when two Generals face each other?)


H. G. Muller wrote on Fri, Nov 13, 2020 09:05 AM UTC in reply to Daphne Snowmoon from 08:21 AM:

The King-facing rule can be implemented by adding a fkR move to the King; k means a move that can only be used to capture royals.

There is no way to configure the Interactive Diagram for confinement zones (i.e. by specifying some additional parameters in the definition). This is mostly because I could not imagine a sufficiently flexible and easy way for specifying the zones, and what pieces should be confined to those. So instead I did make the Diagram script extendable by a user-supplied JavaScript function BadZone(file, rank, piece, color), which can return true (1) or false (0) depending on whether a move of the mentioned piece type (numbered as they appear in the Diagram's definition) to then mentioned square (file and rank counting starting at 0) should be forbidden.

By embedding such a function within <script> tags in the HTML page, the Diagram would automatically call it for verifying each move. You can see an example of it in the diagram I made for Xiangqi, at https://www.chessvariants.com/index/listcomments.php?id=33312 , when you ask your browser to show the Page Source of that page.

You can also see there how a user-supplied function Shade(file, rank) can be used to alter the coloration of the chess board (which by default would be checkered).


💡📝Daphne Snowmoon wrote on Fri, Nov 13, 2020 10:16 AM UTC in reply to H. G. Muller from 09:05 AM:

Thank you so much for your kind explanation. But can you elaborate on Badzone and Shade please? because i dont know how to make Badzone and Shade like you,,


H. G. Muller wrote on Fri, Nov 13, 2020 10:25 AM UTC in reply to Daphne Snowmoon from 10:16 AM:

Well, since your game is very much like Xiangqi as far as confinement is concerned, you could simply copy the BadZone and Shade routines from the mentioned Xiangqi page. And then adapt the tests on the file and rank coordinates x and y to your different board size. And the piece numbers of the pieces to be confined to the numbers they have in your piece table.

You could even start by copying them 'as is'. But you will see (if you specify different lightShade and darkShade) that the Palace will then not be in the location you want it, and that it might confine other pieces than you would want to be confined. You can then experiment a bit with the numbers in the routines that specify the Palace boundaries or piece types until you get what you want.


Liang Qi wrote on Sat, Nov 14, 2020 03:58 AM UTC:

Actually, 千日手is not a Chinese term, it's Japanese term(せんにちて)(Sennichite). So in this case, the real Chinese term is 长将(Changjiang)


💡📝Daphne Snowmoon wrote on Sat, Nov 14, 2020 10:56 AM UTC in reply to Liang Qi from 03:58 AM:

ah i fixed it !


💡📝Daphne Snowmoon wrote on Sat, Nov 14, 2020 12:36 PM UTC in reply to H. G. Muller from Fri Nov 13 10:25 AM:

Thank you !!


💡📝Daphne Snowmoon wrote on Sat, Nov 14, 2020 12:36 PM UTC:
files=13 ranks=10 promoZone=6 holdingsType=-1 promoChoice=Q royal=3 graphicsDir=../graphics.dir/alfaerie/ whitePrefix=w blackPrefix=b graphicsType=gif squareSize=54 darkShade=#C8E0A8 lightShade=#F0FFC0 symmetry=mirror pawn:P:fW:chinesepawn:a4,c4,e4,g4,i4,k4,m4,,a7,c7,e7,g7,i7,k7,m7 pawn:Q:fsW:chinesepawn:, general:G:WfafyafcW:king:g1,,g10 rook:R:R:rook:a1,m1,,a10,m10 cannon:C:mRcpR:cannon:b3,l3,,b8,l8 horse:H:asfW:horse:d1,j1,,d10,j10 elephant:E:asfafW:elephant:c1,k1,,c10,k10 ox:O:afF:ox:e1,i1,,e10,i10 rhino:I:afasfW:rhino:b1,l1,,b10,l10 advisor:A:F:pawn:f1,h1,,f10,h10

H. G. Muller wrote on Sat, Nov 14, 2020 12:50 PM UTC:

Great, you did it! I would recommend to use the 'ferz' image for the advisors, though, rather than the pawn image.

And one remark: wouldn't it be better to swap the Ox and Elephant in the initial position? It is likely that you would want to use the Ox to build a King fortress that is 'Cannon proof', as it cannot cross into the other half to be used for offensive purposes. In the current setup it would take two extra moves to get the Ox there, which is a bit annoying.

You put the Elephant and Rhino in a very unfavorable start location anyway; they have no moves before you move up a Pawn. And even then they would end up behind that Pawn, their forward moves blocked. I know this is the same for the Elephant in Janggi, but there you can more easily move Pawns, because these also move sideways on your own half. The Elephant and Rhino are very clumsy pieces; even the pure leapers (Zebra and Camel) are hard to manoeuvre because of their large stride. And that they are easily blocked, often on squares that block two moves at once, makes it far worse. So perhaps you should give them the most favorable starting location that is possible, making the back-rank Rook, Horse, Rhino, Elephant, Ox, Adviser, King, ...


Aurelian Florea wrote on Sat, Nov 14, 2020 01:17 PM UTC in reply to H. G. Muller from 12:50 PM:

It could go for Rook, Horse, Elephant, Rhino, Ox, Adviser, King,... also.


H. G. Muller wrote on Sat, Nov 14, 2020 11:06 PM UTC in reply to Aurelian Florea from 01:17 PM:

I guess you will have to find a balance between easy development of the Elephant and Rhino, and having the Pawns protected. If the Rhino can immediately develop to a square between the Pawns, it will fork 2 Pawns. So these must then not both be unprotected.

Perhaps the Rhino is too dangerous to allow quick development, and must just be used to protect its own Pawns.


Zhedric Meneses wrote on Sun, Nov 15, 2020 06:58 AM UTC:

I will probably replace one of the new pieces with something like Vao and make the Ox move 1 Space Diagonally personally but hey, my bad opinions. I think adding the new pieces is good anyways since it compliments the Knight and Ox.


A. M. DeWitt wrote on Thu, Aug 1 06:52 PM UTC:

I have approved this page, as it does its job well enough to be eligible. Sure, some improvements could be made, but for now it is good enough.


💡📝Daphne Snowmoon wrote on Thu, Aug 1 09:27 PM UTC in reply to A. M. DeWitt from 06:52 PM:

I'll fix it later ! Thanks !


A. M. DeWitt wrote on Sat, Aug 10 03:14 AM UTC in reply to Daphne Snowmoon from Thu Aug 1 09:27 PM:

Such improvements aren't necessary now that it is published, unless another Editor decides to un-publish it (though we do try to avoid having to do that) or you feel that they need to be made.

Also, just so you know, you can put an Interactive Diagram directly into the page if you set the Format field at the top of the Edit this Page form to "HTML," but that does require you to keep the page in HTML in order to not lose the diagram to the text editors' formatting. Or if you don't feel like doing that, a link to a Comment with the appropriate diagram works too.


17 comments displayed

Earlier Reverse Order Later

Permalink to the exact comments currently displayed.