Commit Graph

417 Commits

Author SHA1 Message Date
beaa68cb10 add UCI specs 2024-07-23 11:04:03 +02:00
99658316fb move all uci to uci.c, eval variables to eval-defs.c 2024-07-22 21:07:46 +02:00
448057bd27 rename src/eval-values.c -> src/eval-defs.c 2024-07-22 21:01:02 +02:00
4a73de8dd8 Merge split-file 2024-07-22 19:29:21 +02:00
3bbc9ea7b8 Restore duplicated src/eval-simple.c and 1 others 2024-07-22 19:29:21 +02:00
db00014eef Splitting 'src/eval-simple.c' and 1 others 2024-07-22 19:29:21 +02:00
98c54553d0 Combo changes
- move eval_material to eval-simple.c
- move phase_t to eval.h
- init.c: add eval init
- piece.h: add  piece_midval/piece_endval
- fen.c: add phase calculation
- eval-simple: fix calc_phase
2024-07-22 18:56:54 +02:00
a4c413bea3 fen tests cleanup 2024-07-22 09:33:27 +02:00
e630a73f26 remove test FEN dups 2024-07-22 09:16:27 +02:00
c8fd3b87ac add Rodent-III FEN tests 2024-07-22 09:03:31 +02:00
14a2cae072 eval-simple.c: game phases, multiple PST 2024-07-21 18:10:33 +02:00
30ac647fe5 update bug_on (brlib + hash.c + position.h), new alloc.[ch] 2024-07-15 08:23:11 +02:00
ca76b28b00 Makefile: simplify flags/build, adapt Emacs .dirs-local.el 2024-07-15 08:13:39 +02:00
f8bb5c06e5 comment move_find_in_movelist() limitations 2024-07-10 07:51:29 +02:00
f52454903c cleanup 2024-07-10 07:50:31 +02:00
5401e83db8 Memory allocation: moved to alloc.[ch] 2024-07-10 07:49:44 +02:00
3100504fa2 Makefile: add 'build=' option 2024-07-10 07:47:02 +02:00
470109768f finalize hyperbola funcs/files rename: Makefile, wrong calls, etc... 2024-07-06 20:44:25 +02:00
96be21231b improve git-split.sh (multiple splits, etc...) 2024-07-06 19:27:22 +02:00
7ce64c3aee rename hyperbola-quintessence files to hq 2024-07-06 19:16:47 +02:00
23051cb427 rename hyperbola functions to hq 2024-07-06 19:11:56 +02:00
8483ffa101 cleanup 2024-07-05 08:23:16 +02:00
a8f7bd12b8 add tricky FEN from talkchess 2024-07-03 21:13:15 +02:00
73d09ec37f perft: fix divide (untested for ages!). perft-test: SF uses divide 2024-07-03 21:10:41 +02:00
2870101896 move_from_str(): fix new move_t promotion 2024-07-03 21:09:00 +02:00
91abc3e26d convert piece_t, square_t etc. to u8 (no more typed enum. See C23 ?). 2024-07-03 08:49:54 +02:00
902c224aa9 simplify promotion generation 2024-07-02 17:28:35 +02:00
44f604abac cleanup 2024-07-01 14:06:51 +02:00
a2451d79db finish fitting move_t in 16 bits 2024-07-01 13:56:13 +02:00
58c985f52f eval.c, eval-simple.c: start to migrate from 0x88 (does not compile) 2024-06-30 10:00:35 +02:00
4d1870ffb3 eval_t: s16 + add in pos_t + remove useless opening pieces values 2024-06-30 09:59:18 +02:00
e18a237347 empty MEMO.org 2024-06-29 11:47:02 +02:00
6fc1ebcc9a add 'hist' command, fix strkok fails, use move_find_in_movelist 2024-06-29 11:37:16 +02:00
8c94c6beb1 add hist_link, hist_push: remove 'move' parameter 2024-06-29 11:35:33 +02:00
a44483e36c init_all: add output for all steps 2024-06-29 11:33:50 +02:00
4e6885f26f makefile: default build: 'dev' 2024-06-29 11:31:48 +02:00
bb13eae0b8 move-do: save move in state, pos-print: print last move 2024-06-28 11:44:38 +02:00
b8f0f6a120 remove MOVE_NO_MOVE (use only MOVE_NONE) 2024-06-28 11:43:52 +02:00
b4f008b223 Emacs .dirs-local.el: change default make target 2024-06-28 09:41:17 +02:00
46f42ae59b move.c: complete move_from_str(), add move_find_in_movelist() 2024-06-28 09:35:56 +02:00
cffb0f7b95 hash.h: fix hash_short(), and hentry_t move size 2024-06-28 09:33:13 +02:00
c5a1936e3b UCI moves && games states list 2024-06-27 10:11:24 +02:00
46aed01079 hash: add hash_short macro, state_s: add prev and move 2024-06-27 08:36:08 +02:00
ffd5d056cc move_t flags: mask -> value, unique castling flag (1 bit saved) 2024-06-25 15:33:56 +02:00
5cb90f5396 remove move-test 2024-06-25 13:16:47 +02:00
da489bad65 update include syntax 2024-06-25 13:07:33 +02:00
f4280dfa13 perft-test: add error and skipped counts 2024-06-24 09:01:55 +02:00
d1cc7a8066 movegen: cleanup + change casling/king moves handling 2024-06-24 09:00:24 +02:00
cfa8b42077 add UCI "perft_alt" command 2024-06-24 08:52:23 +02:00
0c2d30c938 put back bug_on() following brlib change 2024-06-23 19:52:59 +02:00