We describe the Cannon last because it is the most unique and interesting piece in Chinese Chess. It moves one point at a time, and can only move sideways after crossing the river. The four point A, B, C, D in fig 6 obstructed the red Horse to access the eight point that it can move to. Suppose we have a black Horse on point 3 or 4 and point B have a obstructed piece, the black Horse can capture the red Horse, whereas the red Horse cannot capture the black Horse. 6, the red Horse cannot go to point 1 nor point 2, owing to the presence of the red Pawn on point A. However, if the point next to the Horse is occupied by a piece (friend or foe), it’s movement in that direction is blocked and two points become inaccessible. (1) one point in any direction vertically or horizontally, followed by (2) one point diagonally further away. Its move can be regarded as a combination of two steps: In Chinese term, “馬(horse)踏(tramp)日(day)角(diagonal)”, pronounced as Ma Daap Yat Gok. ![]() Horse moves on diagonals of two cells which constructed a Kanji character 日, vertically or horizontally. ![]() It move on straight line, that means it can move forward, backward, or sideways any number of points in a single move, as long as the path is unobstructed by any type of other piece. Thus, in fig 4, the red Elephant can not go to point A because the centre of the four cells (squares) occupied by a black chaRiot. the centre of the four cells), there’re eight such points on each side. Further more, its movement will be blocked if there is a piece, be its friend or foe, at the intervening point, i.e. Elephant cannot cross the river, so there are only seven points in the home camp which can ever be occupied by the Elephant. Adviser have five points in the palace.Įlephant move on four cells (squares) that constructed a Kanji character 田, it moves on the diagonals of the four cells, i.e. In other words, it can only occupy the centre and the four corners of the palace. It moves one point at a time along the diagonals within the palace. King have nine points in the palace as indicated in fig 2. If you have to move your King to directly face opponent’s King, it means you lose. unobstructed by any other piece, along a file. There is a unique rule about the King, the two Kings must not be facing each other directly i.e. It only moves within the palace (the palace constructed with four cells, shaped as same as Kanji character 田 which pronounced as Tin, means rice field), one point either horizontally or vertically. The yellow blocks are special cases.Chinese-Chess-for-Beginners Movements of Pieces The King: The bottom-left top-right diagonals are much more complex.) ![]() (Make sure you see both sets of diagonals as top-left to bottom-right. The "secondary" green diagonals (same orientation as red).The "primary" red diagonals (they run top-left to bottom-right, like a backslash).The incrementing blue vertical groups of 4.The bottom-left block is the starting position and the numbers in the blocks represent the minimum number of moves to reach those blocks. In the diagram below, the number in the square is the minimum number of moves needed to reach that square (you can use breadth-first search to find this):īecause the solution is symmetrical across the axes and the diagonals, I've only drawn the x >= 0 and y >= x case. The key to finding this is to notice the patterns that emerge when you draw the board. Here's a correct O(1) solution, but for the case where the knight moves like a chess knight only, and on an infinite chess board:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |