#Legal Move Gen
3 messages · Page 1 of 1 (latest)
3 messages · Page 1 of 1 (latest)
recalculating all stuff each move is slow, so why not just calculates the changes?
for example, if a rook moves, just calculate what changes to the rook, and whether it is blocking others, doesn't required to recalculating all pieces again.
i thouhgt about that but i still have questions on how to implement that.
how do i calculate the changes to the rook and how do i check what pieces were blockec by it
I see nothign wrong with this function