Hacker News new | past | comments | ask | show | jobs | submit login

There's no mention of promotion. Is it not available, or when are pawns considered to have reached the final rank?



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...


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.


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




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: