Closed Klamath233 closed 1 year ago
I think one key factor that left the White
concept in this program is that the current FEN notation system, no matter whether standard UCI or UCI-CYCLONE, uses w
for the red side to move.
e.g. rnbakabnr/9/1c5c1/p1p1p1p1p/9/9/P1P1P1P1P/1C5C1/9/RNBAKABNR w - - 0 1
.
In addition to that, almost all GUI uses w
for red to move in FEN recognition, so if we need to change this behavior, the FEN notation may need some changes too IMO.
You are right. I didn't intend to change the terms in code/FEN, but just the console texts output via cout
.
You are right. I didn't intend to change the terms in code/FEN, but just the console texts output via
cout
.
What I mean by that is FEN is also user facing text, like:
d
+---+---+---+---+---+---+---+---+---+
| r | n | b | a | k | a | b | n | r | 9
+---+---+---+---+---+---+---+---+---+
| | | | | | | | | | 8
+---+---+---+---+---+---+---+---+---+
| | c | | | | | | c | | 7
+---+---+---+---+---+---+---+---+---+
| p | | p | | p | | p | | p | 6
+---+---+---+---+---+---+---+---+---+
| | | | | | | | | | 5
+---+---+---+---+---+---+---+---+---+
| | | | | | | | | | 4
+---+---+---+---+---+---+---+---+---+
| P | | P | | P | | P | | P | 3
+---+---+---+---+---+---+---+---+---+
| | C | | | | | | C | | 2
+---+---+---+---+---+---+---+---+---+
| | | | | | | | | | 1
+---+---+---+---+---+---+---+---+---+
| R | N | B | A | K | A | B | N | R | 0
+---+---+---+---+---+---+---+---+---+
a b c d e f g h i
Fen: rnbakabnr/9/1c5c1/p1p1p1p1p/9/9/P1P1P1P1P/1C5C1/9/RNBAKABNR w - - 0 1
Key: FDA3193C470C785C
Checkers:
Also eval
and d
are labeled as non-UCI commands, they are not intended to be used by regular xiangqi players, you can find this in the readme.md
:
For developers the following non-standard commands might be of interest, mainly useful for debugging:
I see your point now. Thanks! I’ll just accept this as part of learning curve :)
Describe the issue
The upstream engine is designed for Chess where there's a white side and black side, while CC uses a red/black palette. While it's reasonable to keep the white/black terms in code to make pulling upstream changes or rebasing easier, it makes the console interface more intuitive for CC players to adopt red/black terms in user-facing texts.
For example:
The term "white side" should be "red side" in CC context.
Expected behavior
White/white side should be replaced with red/red side in user-facing texts.
Steps to reproduce
Anything else?
No response
Operating system
All
Pikafish version
26f3659