3 ms·
There's no mention of promotion. Is it not available, or when are pawns considered to have reached the final rank?
by tromp 4y ago
There's no mention of promotion. Is it not available, or when are pawns considered to have reached the final rank?
- rm999 4y agoIf I am reading this correctly, a pawn past row 7 will automatically be replaced by a Queen: https://github.com/ehulinsky/AnalogChess/blob/main/analogchessV4.py#L1187-L1188 https://github.com/ehulinsky/AnalogChess/blob/main/analogche...
- squeaky-clean 4y agoLooking at the code it looks like it supports promotion, a pawn is considered on the final rank when it's entire radius is on that rank.
- luxuryballs 4y agoif it were me I’d make it so the piece has to be touching the far edge of the board, to follow with the theme