Calcitem
|
957b19c712
|
movegen: refactor
|
2020-12-29 10:56:04 +08:00 |
Calcitem
|
83e36576e3
|
refactor: Use macron SX() to simplify adjacentSquaresBBX
|
2020-12-29 10:03:53 +08:00 |
Calcitem
|
df36aaa2e1
|
Rename moveTable to adjacentSquares
|
2020-12-28 23:13:38 +08:00 |
Calcitem
|
d8ab4e2901
|
Add mills.cpp/.h and put adjacent_squares_init() in it
|
2020-12-28 23:13:38 +08:00 |
Calcitem
|
75f0d1202e
|
Refactor: Rename XXX_obliqueLine to XXX12
And Rename XXX_noObliqueLine to XXX9.
|
2020-12-28 22:54:09 +08:00 |
Calcitem
|
0156386239
|
bb: Remove Unused DISABLE_BITBOARD
|
2020-12-28 22:54:09 +08:00 |
Calcitem
|
afcc4a953d
|
Use EFFECTIVE_SQUARE_NB
|
2020-12-28 22:54:09 +08:00 |
Calcitem
|
66b6eee8e9
|
movegen: Slice generate() to three sub functions
|
2020-12-28 22:54:09 +08:00 |
Calcitem
|
d78828c424
|
movengen: Remove unused FIRST_MOVE_STAR_PREFERRED
|
2020-12-28 15:27:45 +08:00 |
Calcitem
|
ada658ef0a
|
hashmap: resize: Skip if size is less than 0x1000000
|
2020-12-28 09:42:54 +08:00 |
Calcitem
|
632bfc36ad
|
bb: Implement Bitboards::pretty()
|
2020-12-28 09:30:18 +08:00 |
Calcitem
|
460aec58fe
|
bb: Remove unused lsb() and msb()
|
2020-12-28 09:04:03 +08:00 |
Calcitem
|
42e73f1a0c
|
bb: Rename StarSquareNBB to StarSquareBBN
|
2020-12-28 08:54:35 +08:00 |
Calcitem
|
ea98f5c9a5
|
bb: Remove unused LineBB
|
2020-12-28 08:52:42 +08:00 |
Calcitem
|
c5f5eb43b3
|
bb: Remove unused distance()
|
2020-12-28 08:49:58 +08:00 |
Calcitem
|
2ce460bbba
|
bb: Add StarSquareXBB but but used
|
2020-12-28 01:45:47 +08:00 |
Calcitem
|
5992515c52
|
Rename HashNode.h to hashnode.h
|
2020-12-28 01:45:47 +08:00 |
Calcitem
|
a127350065
|
tt: Resize default size to 0x1000000
Reduce memory to 150MB.
|
2020-12-23 01:19:54 +08:00 |
Calcitem
|
ee3540b5dc
|
Update Readme.md and pubspec.yaml
|
2020-12-22 01:45:43 +08:00 |
Calcitem
|
e46606c385
|
Update Readme.md
|
2020-12-22 01:23:40 +08:00 |
Calcitem
|
974872e226
|
bb: Fix crash after mirror/turn/rotate
|
2020-12-22 01:08:29 +08:00 |
Calcitem
|
a1f4832fe0
|
deploy.sh: Do not commit and only push
|
2020-12-21 23:51:46 +08:00 |
Calcitem
|
22f97f0a5e
|
Remove prefetch_range(millTable)
|
2020-12-21 01:21:56 +08:00 |
Calcitem
|
de6ee73d55
|
bb: Refactor in_how_many_mills()
|
2020-12-21 01:10:21 +08:00 |
Calcitem
|
c4c3340e9d
|
bb: Refactor add_mills()
|
2020-12-21 01:00:27 +08:00 |
Calcitem
|
d4bafff8b4
|
AUTHORS: Change description
|
2020-12-21 00:14:08 +08:00 |
Calcitem
|
1508ee6c1f
|
Support ALIGNED_LARGE_PAGES but not enable
|
2020-12-20 12:50:56 +08:00 |
Calcitem
|
351421263f
|
color_of() use constexpr instead of inline to fix build error
|
2020-12-20 12:25:25 +08:00 |
Calcitem
|
6c7d6a81cd
|
bb: is_all_surrounded() uses moveTableBB
Performance Test Result:
depth + 4 Release Test:
86818 - > 85800ms, +1.2%
|
2020-12-20 11:50:07 +08:00 |
Calcitem
|
9bf60b935e
|
is_all_surrounded: Fix d = ++d
|
2020-12-20 11:38:26 +08:00 |
Calcitem
|
26984e3ae1
|
bb: Implement moveTableBB
Performance Test result:
After Modify put_piece()
depth + 4: 88859ms -> 86818ms, +2.3%
|
2020-12-20 11:27:13 +08:00 |
Calcitem
|
25375c3c50
|
type: ENABLE_INCR_OPERATORS_ON(MoveDirection)
|
2020-12-20 10:48:14 +08:00 |
Calcitem
|
9c66a3e60d
|
bb: millTable use ~0U to improve performance
|
2020-12-20 10:34:23 +08:00 |
Calcitem
|
11ee391206
|
bb: Do not use popcount
|
2020-12-20 09:54:36 +08:00 |
Calcitem
|
0bcac7658d
|
bb: Enable USE_POPCNT as default
|
2020-12-20 09:18:26 +08:00 |
Calcitem
|
542e3b528f
|
bb: Implement bitboard logic
Disable as default.
|
2020-12-20 01:37:08 +08:00 |
Calcitem
|
9c3bd9d7f6
|
position: Remove onBoard[SQUARE_NB]
|
2020-12-19 11:31:30 +08:00 |
Calcitem
|
b886da6c96
|
bb: Update position.cpp/.h
|
2020-12-19 11:24:38 +08:00 |
Calcitem
|
777a91520e
|
bb: Rewrite bitboard.cpp and bitboard.h
|
2020-12-19 01:49:37 +08:00 |
Calcitem
|
511113e773
|
build: Fix ‘CHAR_BIT’ was not declared
|
2020-12-14 01:21:18 +08:00 |
Calcitem
|
892f9152cf
|
Update copyright info
|
2020-12-14 01:11:43 +08:00 |
Calcitem
|
201c511d83
|
同步 Stockfish 最新的版本
合入的差异部分未 Stockfish
2020/5/8 的提交 66ed8b6c479932f1ec2274b5f567b5a6aecae0a4 到
2020/12/8 的提交 d706ae62d73d90c0f80cdccd58384a347295d549 的差异部分。
暂时未使用的代码不合并。
nnue 主体未合并。
main.cpp() 中 CommandLine::init(argc, argv); 未合并。
|
2020-12-13 23:55:44 +08:00 |
Calcitem
|
0663f3e9e9
|
sq 自增由 i=i+1 改为 ++i
|
2020-12-13 22:48:56 +08:00 |
Calcitem
|
d8270658b0
|
flutter: 修复规则如规定不能吃三中的子但如果全部成三就吃不了的问题
引擎中是正确的,和引擎同步。
|
2020-12-13 21:47:15 +08:00 |
Calcitem
|
43ac139d90
|
flutter.yml: 修改当 Git 浅克隆时生成版本号的方式为依据编译编号或者日期
服务器只是浅克隆1层代码,有 GITHUB_RUN_NUMBER 的就依据此环境变量。
对于本地如果浅克隆,没有 GITHUB_RUN_NUMBER 的就依据编译日期。
|
2020-12-13 11:58:36 +08:00 |
Calcitem
|
9795f08fcd
|
version.sh: 执行时修改 pubspec.yaml 的版本号
并且在 CI 编译 App 时执行 version.sh
|
2020-12-13 10:59:57 +08:00 |
Calcitem
|
b5c89997a3
|
build: 解决 rule 模块 GCC 编译失败问题
|
2020-12-13 00:31:24 +08:00 |
Calcitem
|
df68dafa8e
|
position: 解决 QtUI 切规则后对弈异常问题
原因是之前提交引入的:
// TODO: Do not need to set again
set_position(DEFAULT_RULE_NUMBER);
解决方案:
set_position() 部分分离到新函数 set_rule() 其余则补充到 reset()。
|
2020-12-12 23:05:54 +08:00 |
Calcitem
|
0ac61a94d0
|
flutter: 去掉 position 中冗余的 rule 成员变量
|
2020-12-12 22:18:34 +08:00 |
Calcitem
|
22adca36d5
|
rule: rule 不再使用指针形式
|
2020-12-12 22:18:34 +08:00 |