gaintpd / cutechess

Cute Chess is a graphical user interface, command-line interface and a library for playing chess. This Repo cantains the xiangqi, minixiangqi and manchu variant support
GNU General Public License v3.0
5 stars 3 forks source link

An accurate understanding of Janggi "bikjang". #2

Open cjssh1002 opened 4 years ago

cjssh1002 commented 4 years ago

b1

"RED(black)" Passing in Bikjang state

  1. Janggi mode: Red can use the passing. Because the score is 1.5 higher, you don't lose. (score pass rules)
  2. Casual mode: Red can use the passing (bikjang/pass = no rules)
  3. Traditional Mode: Draw if Red uses a passing. (pass = no rules)
  4. Modern Mode: Red can use the passing. Because the score is 1.5 higher, you don't lose. (score pass rules)

b2

Blue(white) Passing in Bikjang state

  1. Janggi mode: Blue can't use the passing. Because the score is 1.5 low, you will lose. (score pass rules)
  2. Casual mode: No bikjang & no pass rules. (pass or move)
  3. Traditional Mode: Draw if Blue uses a passing.(no rules)
  4. Modern Mode: Blue can't use the passing. Because the score is 1.5 low, you will lose. (score pass rules)

============================================ The rules of Bikjang and Passing apply in duplicate. It is similar to "double check"of chess.

gaintpd commented 4 years ago

hello cjssh1002, many thanks for your pictured explanation. As far as now, the implemenation of the bikjang is still a headache for me as the combination of the bikjang rule and the cutechess framework.

cjssh1002 commented 4 years ago

Is bikjang and passing a double implementation difficult?

gaintpd commented 4 years ago

The passing is not difficult to implement, the bikjang is a little complicated to handle, it takes time, it is not an issue that is unable to settle, I think.

cjssh1002 commented 4 years ago

OK got it. It seems like a problem that takes time anyway.

The "pawn" marks are missing from the coordinates in cutechess. So, maybe I can't save the game.

  1. b4 Nd8 {-0.14/19 13s} 2. h4 {4.4s} Cc8 {+0.08/19 12s} it doesn't seem to be compatible with the chess coordinates.

Can you change the coordinates to the coordinates of Korea. or coordinates of the winboard as shown in the picture?

gaintpd commented 4 years ago

This is a bug in the current implementation as I directly copy the code from the westernboard. Because the pawn does not have the sideway movement in international chess whereas the pawn in Janggi has the sideway movement. You can open a new issue to report it as a bug.

gaintpd commented 4 years ago

In fact, there are three issues need to be settled in the current implementation.

  1. bikjang (the current implementation does not fully works).
  2. rewrite the code of game notation(the bug you just reported).
  3. Display the different size pieces on the Janggi board.
cjssh1002 commented 4 years ago
  1. Do you need an image of janggi boards and pieces? I can provide some images to you.

How about the easy way to express the image and how to clean the surroundings of small pieces? (Transparent effect) or font use

Reference site. https://github.com/Ka-hu/chess-pieces

gaintpd commented 4 years ago

Hello cjssh1002, thank you very much for the info. This is a feature that does not have the priority over other features, such as the bikjang, SAN disambiguation and the different size pieces on Janggi board.