Code Monkey home page Code Monkey logo

Comments (3)

PascalPons avatar PascalPons commented on June 16, 2024

Hi,
supporting 128bits bitboard is in fact something I wanted to do it someday, but currently I'm not working much on that project.

One of the issue is the C++ standard does not define 128bits integer type. __uint128_t is a non standard GCC extension, probably other compiler also provide the same kind of extension but it is not (yet?) in the C++ standard.

That being said, I haven't looked yet at the implication of supporting 128bits boards in TranspositionTable.hpp.

from connect4.

TheTrustedComputer avatar TheTrustedComputer commented on June 16, 2024

The GNU G++ compiler is what makes solving 128-bit bitboards possible as shown on 8x8 (requires 72 bits). I don't think it's possible on other compilers though as it's not guaranteed. I tested the same code with Visual Studio, and it failed to compile.

With 128-bit bitboards, however, the board size can go as large as 11x10 (121 bits) compared to 8x7 (64 bits) in 64-bit bitboards. If I were to solve it on move one, it'll likely take years before a result comes to whom which side wins. But it's a good test to ensure the functions are working with already played positions using this method.

from connect4.

PascalPons avatar PascalPons commented on June 16, 2024

Hello,
I pushed a commit to support 128bits boards using g++ non-portable __128 type.

from connect4.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.