Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's just not true. Pawns can only be captured en passant on one rank for each color.


Yes for each color. That means two pawns for each column can be in position to be captured en passant. And also two pawns can be in capturing position.

Edit: Column combined with whose turn it is will work, but not just column.


Part of a chess position is whose turn to move. That has to be encoded anyways.


I guess, but the article wasn't trying to do so.




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

Search: