Instead of having x,y coordinates for panels, that must be searched for everytime, have a Type of 'Squares' where squares have location values between 0,63
Remove all references of x,y components.
With these location numbers, it will be relatively easy to assign a bitboard to a 'Squares'
Instead of having x,y coordinates for panels, that must be searched for everytime, have a Type of 'Squares' where squares have location values between 0,63
Remove all references of x,y components.
With these location numbers, it will be relatively easy to assign a bitboard to a 'Squares'