Comments (3)
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.
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.
Hello,
I pushed a commit to support 128bits boards using g++ non-portable __128 type.
from connect4.
Related Issues (20)
- Opening book on blank board HOT 5
- Compilation and Inputs HOT 2
- How to Generate Good Opening Book HOT 3
- Cannot compile on raspberry 3 ( g++ (Raspbian 8.3.0-6+rpi1) 8.3.0 ) HOT 2
- Performance trap solver.reset() HOT 3
- How to implement that in a real Connect 4 game ?
- Getting started HOT 2
- Generate a 6x9 HEIGHTxWIDTH Opening Book
- How to reproduce the benchmarks
- Predict who will win
- Using this with python
- How to create 8x8 Opening Book?
- Trying to compile on Windows with g++ doesn't work
- Not optimal Position.compute_winning_position HOT 1
- How do I download the opening book?
- key3() doesn't work correctly with __int128
- Transposition table is not cache friendly HOT 1
- Incorrect node score HOT 1
- New game solver looks better at first glance but has a lot of issues
- is there a Java version? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from connect4.