The Chess Variant Pages

[ 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
This item is a game information page
It belongs to categories: Two dimensional, Large board, Three or more players, Oriental, War game, Oriental
It was last modified on: 2020-04-14
 By Daphne  Snowmoon. 中象棋(Middle Xiangqi). Missing description[All Comments] [Add Comment or Rating]
Zhedric Meneses wrote on 2020-11-15 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.

H. G. Muller wrote on 2020-11-14 UTC

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.

Aurelian Florea wrote on 2020-11-14 UTC

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

H. G. Muller wrote on 2020-11-14 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, ...

Daphne Snowmoon wrote on 2020-11-14 UTC
files=13 ranks=12 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:a5,c5,e5,g5,i5,k5,m5,,a8,c8,e8,g8,i8,k8,m8 pawn:Q:fsW:chinesepawn:, general:G:WfafyafcW:king:g2,,g11 rook:R:R:rook:a1,m1,,a12,m12 cannon:C:mRcpR:cannon:b4,l4,,b9,l9 horse:H:asfW:horse:d2,j2,,d11,j11 elephant:E:asfafW:elephant:c2,k2,,c11,k11 ox:O:afF:ox:e2,i2,,e11,i11 rhino:I:afasfW:rhino:b2,l2,,b11,l11 advisor:A:F:pawn:f2,h2,,f11,h11

Daphne Snowmoon wrote on 2020-11-14 UTC

Thank you !!

Daphne Snowmoon wrote on 2020-11-14 UTC

ah i fixed it !

Liang Qi wrote on 2020-11-14 UTC

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

H. G. Muller wrote on 2020-11-13 UTC

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.

Daphne Snowmoon wrote on 2020-11-13 UTC

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 2020-11-13 UTC

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 , 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 2020-11-13 UTC

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?)

Greg Strong wrote on 2020-08-27 UTC

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


This will provide better looking, anti-aliased graphics.

Fergus Duniho wrote on 2020-04-20 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.

14 comments displayed

Later Reverse Order Earlier

Permalink to the exact comments currently displayed.