3 ms·
This would work but it requires a scan of the whole board for pawn (and knight and rook) moves. I wanted (and eventually got - after a lot of mistakes along the
by billforsternz 11y ago
This would work but it requires a scan of the whole board for pawn (and knight and rook) moves. I wanted (and eventually got - after a lot of mistakes along the way) a system which would use negligible CPU cycles for almost all moves.
- level3 11y agoThat makes sense. I'm probably underestimating the amount of cycles saved by your swap method.