-
Same as Chebyshev distance.
-
I noticed in `bitboard.cpp` :
``` C
const BITBOARD debruijn64 = 0x07EDD5E59A4E28C2;
const int index64[64] = {
63, 0, 58, 1, 59, 47, 53, 2,
60, 39, 48, 27, 54, 33, 42, 3,
…
-
The current implementation creates a ton of Java objects and will be quite inefficient.
Bitboards are more efficient and we should use them.
-
We should add additional checks for material values, as well as the occupied bitboards and the total white and black pieces bitboards.
-
In bitboard.h, for `class BoardSquare` the comment on line 43/44 states:
```
// As a single number, 0 to 63, bottom to top, left to right.
// 0 is a1, 8 is a2, 63 is h8.
```
In contrast, for …
-
Figure out how to make a lot of the deterministic, precalculated variables such as magic bitboards, attack tables, etc. `constexpr` types. Usually when I do this I get redundant symbol definition comp…
-
For the first example in README.md, we have this code:
```rust
// lets iterate over targets.
let targets = board.color_combined(!board.side_to_move());
iterable.set_iterator_mask(targets);
```
…
-
Hi,
Been trying out but had this happen after (successul) installation --
Traceback (most recent call last):
File "bitboard.py", line 2, in
from bitmessage_gateway import gateway_instan…
-
Hello, thanks for this promising project.
I’ve a rust crate https://github.com/kraktus/rs-retroboard-chess that has sparked the interest of cpp users. I’d like to make it available.
The good thi…
-
These new versions of listMoves() depart somewhat from the original Fhourstones code. Perhaps the ideas included are worth exploring.
```
// this version is same speed as original (it just uses a…