Comment by zzo38computer
2 years ago
Yes, that is much better.
Then, the code that I wrote is OK (I think) except I did not implement capturing white pieces (although if white pieces can capture white pieces and change into the same piece, then effectively the white piece can become vacant if it can reach another white piece).
No comments yet
Contribute on Hacker News ↗