Skip to content

About Xiangqi NNUE Structure #491

Answered by ianfab
PikaCat-OuO asked this question in Q&A
Jun 1, 2022 · 1 comments · 13 replies
Discussion options

You must be logged in to vote
  1. Regarding the piece index, I don't know the order by heart, but it just follows the order of piece types in the enumeration at https://github.com/ianfab/Fairy-Stockfish/blob/088d4da202fec1792c336671813a2521c600f28b/src/types.h#L390-L396 So what you wrote looks correct.
  2. For the king square index you need to consider that the king square first always is oriented according to the side to move, and the opposing palace isn't really relevant as only the own king's index is used. The indices are enumerated starting from a1 (i.e., the left bottom), i.e., d1 = 0, e1 = 1, ....

Replies: 1 comment 13 replies

Comment options

You must be logged in to vote
13 replies
@ianfab
Comment options

@PikaCat-OuO
Comment options

@PikaCat-OuO
Comment options

@Belzedar94
Comment options

@PikaCat-OuO
Comment options

Answer selected by PikaCat-OuO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants