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/
M42 - A C++ library for Bitboard attack mask generation
Moderators: hgm, Rebel, chrisw
-
- Posts: 646
- Joined: Wed Jun 18, 2014 2:30 pm
- Full name: Fahad Syed
-
- Posts: 1600
- Joined: Mon Feb 21, 2011 9:48 am
Re: M42 - A C++ library for Bitboard attack mask generation
Hi, Syed.
Nice !!. And fun.
Supported compilers, Intel and LLVM in Visual Studio.
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).
-
- Posts: 646
- Joined: Wed Jun 18, 2014 2:30 pm
- Full name: Fahad Syed
Re: M42 - A C++ library for Bitboard attack mask generation
Thank you for your kind words, and for testing it under Intel and LLVM compilers.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).
I'm going to update the documentation soon.