Page 1 of 1

M42 - A C++ library for Bitboard attack mask generation

Posted: Sat Apr 30, 2016 7:01 pm
by vittyvirus
Hi folks!

M42 is a C++ Bitboard attack mask generation library. Features:
=> Fancy Magic Bitboard based attack mask generation for sliders
=> Functions for attack mask generation of all pieces
=> Functions that can handle bitboards of multiple pieces (non-slider only)
=> Clean and concise code (At least I think so)
=> Portable code, doesn't depend on hardware intrinsics and particular compilers

Copyright info: M42 has absolutely NO copyrights. Read the documentation for more information.

Get it here: https://sites.google.com/site/sydfhd/projects/m42/

Re: M42 - A C++ library for Bitboard attack mask generation

Posted: Sat Apr 30, 2016 9:09 pm
by velmarin
Hi, Syed.
Nice !!. And fun.

Supported compilers, Intel and LLVM in Visual Studio.

Code: Select all

SUPPORTED COMPILERS
M42 is intended to be used under a variety of C++ compilers on a variety of system. M42 has been tested on g++ and Visual C++ compilers. M42 should compile fine under pretty much every C++ compiler, and if it doesn’t, you can of course email your issues (see the cover page).

Re: M42 - A C++ library for Bitboard attack mask generation

Posted: Sat Apr 30, 2016 9:17 pm
by vittyvirus
velmarin wrote:Hi, Syed.
Nice !!. And fun.

Supported compilers, Intel and LLVM in Visual Studio.

Code: Select all

SUPPORTED COMPILERS
M42 is intended to be used under a variety of C++ compilers on a variety of system. M42 has been tested on g++ and Visual C++ compilers. M42 should compile fine under pretty much every C++ compiler, and if it doesn’t, you can of course email your issues (see the cover page).
Thank you for your kind words, and for testing it under Intel and LLVM compilers.
I'm going to update the documentation soon.