fairy-stockfish / Fairy-Stockfish

chess variant engine supporting Xiangqi, Shogi, Janggi, Makruk, S-Chess, Crazyhouse, Bughouse, and many more
https://fairy-stockfish.github.io/
GNU General Public License v3.0
619 stars 196 forks source link

Support variants with large boards (up to 12x10) #6

Closed ianfab closed 5 years ago

ianfab commented 6 years ago

The board size is currently limited to be smaller than or equal to 8x8 squares. Investigate feasibility of switchover to larger bitboards, e.g., based on compiler-specific 128 bit integers, in order to be able to support board sizes up to 12x10.

Required steps:

Further improvements:

ianfab commented 6 years ago

The implementation for shogi and capablanca chess seems to be working now (tested against Shokidoki and Sjaak II). A couple of workarounds should still be fixed though, but they only affect playing strength and code maintainability. I am not aware of any play-limiting bug.

ianfab commented 6 years ago

Added support for four more large-board variants on branch large_boards:

ianfab commented 6 years ago

Merged large_boards to master. Keeping this open to track the open issues with the implementation, see the initial post.