Hacker News new | ask | show | jobs
by throwaway38294 157 days ago
My guess is they only remove captured pieces on the moved-to square (maybe relying on an implicit capture by overwriting an array entry). This is probably easier than actually tracking pieces that get captured.