Closed kraktus closed 2 years ago
Same as those implemented for Bitboard.
Bitboard
Previously it was hard to do so efficiently, as far as I could tell.
Chosen to mutate the current board because it seems most consistent path compared to other methods, but no strong preference if you think returning a new Board is better.
Board
Thanks. I agree that mutating is probably best, here.
Same as those implemented for
Bitboard
.Previously it was hard to do so efficiently, as far as I could tell.
Chosen to mutate the current board because it seems most consistent path compared to other methods, but no strong preference if you think returning a new
Board
is better.