Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
tromp
· 3y ago · 0 comments
There's no mention of promotion. Is it not available, or when are pawns considered to have reached the final rank?
Comments
[–]
rm999
3y ago
If I am reading this correctly, a pawn past row 7 will automatically be replaced by a Queen:
https://github.com/ehulinsky/AnalogChess/blob/main/analogche...
[–]
squeaky-clean
3y ago
Looking 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
3y ago
if 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