mirror of
https://github.com/sockspls/badfish
synced 2025-07-11 19:49:14 +00:00
Rejoin lines that belong to HalfDensity map (#952)
No functional change.
This commit is contained in:
parent
fe99de20ff
commit
8b2c81d3ea
1 changed files with 2 additions and 2 deletions
|
@ -153,11 +153,11 @@ namespace {
|
||||||
{1, 0, 0, 0, 0, 1, 1 ,1},
|
{1, 0, 0, 0, 0, 1, 1 ,1},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const size_t HalfDensitySize = std::extent<decltype(HalfDensity)>::value;
|
||||||
|
|
||||||
Value bonus(Depth depth) { int d = depth / ONE_PLY ; return Value(d * d + 2 * d - 2); }
|
Value bonus(Depth depth) { int d = depth / ONE_PLY ; return Value(d * d + 2 * d - 2); }
|
||||||
Value penalty(Depth depth) { int d = depth / ONE_PLY ; return -Value(d * d + 4 * d + 1); }
|
Value penalty(Depth depth) { int d = depth / ONE_PLY ; return -Value(d * d + 4 * d + 1); }
|
||||||
|
|
||||||
const size_t HalfDensitySize = std::extent<decltype(HalfDensity)>::value;
|
|
||||||
|
|
||||||
EasyMoveManager EasyMove;
|
EasyMoveManager EasyMove;
|
||||||
Value DrawValue[COLOR_NB];
|
Value DrawValue[COLOR_NB];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue