0e8eb7b767ea1878ed88e70d0f6d9d708f7fb2c9
It's cheap (and gets rid of boilerplate) to check for the field occupancy inside the get_moves and get_captures funcitons.
Description
Chess
Languages
Rust
68.6%
JavaScript
24.9%
Python
6%
HTML
0.5%