Commit Graph

418 Commits

Author SHA1 Message Date
0c2d30c938 put back bug_on() following brlib change 2024-06-23 19:52:59 +02:00
3a6c1d11c0 rename util.h -> misc.h (2) 2024-06-23 19:22:22 +02:00
a7311a546f add perf target 2024-06-23 19:16:05 +02:00
84b6c41107 update brlib 2024-06-23 19:15:34 +02:00
19d10fdfa8 rename util.h -> misc.h 2024-06-23 19:15:14 +02:00
6e38de58cb brchess: remove any readline dependancy (issue with static linking) 2024-06-22 21:06:06 +02:00
0c15be28b1 remove bug.h include in any .h file 2024-06-20 09:13:28 +02:00
879bda850c pos_ok, remove unused var warnings for 'release' target 2024-06-20 09:04:54 +02:00
0a0c3227b8 Makefile: add release & dev targets 2024-06-20 09:04:28 +02:00
242b501404 cleanup 2024-06-20 05:36:42 +02:00
f530a13481 prepare brchess, eval, eval-simple for future use 2024-06-19 11:01:48 +02:00
243805f11f add git-split.sh (NOT WORKING!) 2024-06-18 06:38:04 +02:00
ae198c891f Merge branch 'tt' 2024-06-17 07:51:45 +02:00
f1657e9806 working TT with perft 2024-06-17 07:45:57 +02:00
840202dc0e perft-test.c/common-test.h: add sentinel for temp tests / TT stats 2024-06-17 07:39:13 +02:00
dfecad9ea6 cleanup 2024-06-17 07:38:43 +02:00
e61e1518f4 move_do_alt: use &state (as move_do) 2024-06-17 07:37:22 +02:00
2fbad1319e fix EP_ZOBRIST_IDX macro (oops !) 2024-06-17 07:35:14 +02:00
148fef20ea add info in pos_print, start perft TT testing 2024-06-13 10:28:32 +02:00
8be03c6230 rename TT funcs to TT_xxx() 2024-06-12 07:50:19 +02:00
ec2d2291d4 clean move_t: Remove capture/dpush/promotion flags, captured piece 2024-06-12 07:45:22 +02:00
49b678e3ce fix piece_t_from_char() 2024-06-12 07:40:13 +02:00
ebf01bc7db perft_test -> perft, perf -> perft_alt move2 -> move, move -> move_alt 2024-06-09 22:15:20 +02:00
660d181e41 add GAMESIZE (attention: **WRONG**, as for repeat only !) 2024-06-08 20:12:19 +02:00
5a2cdfca56 perft-test: add SF ucinewgame / isready + check sync 2024-06-08 20:10:17 +02:00
00fc61020c "#define key_t" -> hkey_t type 2024-06-06 07:38:01 +02:00
06904f8a77 cleanup fetch-all.sh 2024-06-06 07:32:48 +02:00
431baa43d4 cleanup 2024-05-30 10:47:02 +02:00
cee262e31d fetch-all.sh: use git-branch - still "echo", no real command 2024-05-28 09:44:34 +02:00
ec64e2e44d replace pawn_shift_xxx with bb_pawns_attacks 2024-05-28 09:40:20 +02:00
972046351b fen: simplify fen_check() + fix e.p. when no possible capture 2024-05-27 14:54:44 +02:00
a7495b67d2 update brlib 2024-05-21 10:22:06 +02:00
8703c892af Merge branch 'hash' 2024-05-21 07:53:55 +02:00
1670b21dfa fetch-all: add possible local branch creation (still only echo) 2024-05-21 07:52:01 +02:00
07a545adae protect hash_init() against multiple calls 2024-05-21 07:49:49 +02:00
77695574aa fetch-all.sh 2024-05-18 13:38:27 +02:00
6da0f80d46 allow bug.h multiple inclusions (w/ different BUG_ON/WARN_ON values) 2024-05-18 13:37:23 +02:00
f657f8498a perft-test: output also SF perf 2024-05-16 09:07:15 +02:00
4a0c734eba perft: Avoid recursion at depth 2 2024-05-16 09:06:44 +02:00
239498bc2a cleanup 2024-05-16 07:29:02 +02:00
a012af30fc fix wrong recursive call in perft_test() 2024-05-16 07:27:59 +02:00
d1cb1f3c2c perft-test: re-use pos 2024-05-16 07:27:35 +02:00
2069d6073d add pos_copy(); pos->king[] set at higher level 2024-05-16 07:16:17 +02:00
5db45a760a fen: calc pos hash, hash: fix zobrist_init, add zobrist_verify 2024-05-15 18:36:30 +02:00
86f8184c56 misc.c: init_all() 2024-05-15 18:34:50 +02:00
022daf0a89 typedef key -> #define key_t - can't use typedef, due to <sys/types.h> 2024-05-15 09:42:33 +02:00
9ef262af48 clean hash.c 2024-05-14 11:57:51 +02:00
038f6b5669 add hash.c: zobrist init + pos zobrist calc + tt hash creation 2024-05-14 11:40:44 +02:00
7baf66f1b6 add init.c, force BUG_ON in safe_malloc() 2024-05-14 11:39:37 +02:00
a0b1d289a7 add rand funcs 2024-05-06 07:47:14 +02:00