Re:Building My Own Chess Engine
by benibela on Thursday December 24, 2020 @06:29AM
(#25526644)
>- A 10x10 board with an unreachable edge has some advantages when laid out as a linear array because it allows for much easier memory management (premature optimizations and all that...). On an 8x8 board laid out linearly the edges have no way of limiting piece movement
But with an 8x8 board you can store all free fields in a single 64-bit integer
But with an 8x8 board you can store all free fields in a single 64-bit integer
That could be fast, would it not?