437 Commits

Author SHA1 Message Date
b7a5d0fe56 pv.h (empty) 2024-09-02 20:03:08 +02:00
87555f5405 misc unfinished changes (kinda stash) 2024-08-16 12:12:55 +02:00
bb866cb933 Merge branch 'master' into search 2024-08-08 08:44:32 +02:00
7ae6604e10 Makefile: add dependency on brlib file 2024-08-08 08:43:14 +02:00
fcd54b44ce phase update in move_do(), new phase_verify(), rewrite calc_phase() 2024-08-06 21:19:51 +02:00
aef14db3e4 Merge branch 'master' into search 2024-08-05 08:41:06 +02:00
f7a6e582ed movegen: add pos_gen_legal() to simplify code 2024-08-05 08:40:03 +02:00
f7fd2cb657 merge perft split 2024-08-05 08:26:33 +02:00
1ca4eb4443 Merge branch 'master' into search 2024-08-05 08:25:10 +02:00
0ff41c408b add repetition detection, root position count
- hist.c: add hist_next() - get next entry in history
- state_t: remove plycount, clock_50 -> ply50, add phase, repcount
- pos_t: add plycount, plyroot
- state_t moved to chessdefs.h
- perft-test: split perft from do_perft (todo for perft_alt)
- position.c: add pos_repcount()
- search.c: add is_draw()
- uci: set root position (after moves), adjust history moves repcount
2024-08-04 09:37:58 +02:00
e1debcc3ae create (unused) thread.[ch] files.
I am still unsure if I will go to thread or process...
2024-07-31 07:30:20 +02:00
01af1f5c49 separate perft (from search.c) 2024-07-29 09:56:27 +02:00
6ea77c85e1 Restore duplicated search.c and 1 others 2024-07-29 08:11:41 +02:00
3fb0c92653 Splitting 'search.c' and 1 others 2024-07-29 08:11:41 +02:00
a6a21626c7 uci: complete option/setoption
- eval-defs.c: add parameter type in ev_params
- util.c:
  - new str_eq_case()
  - new str_skip_word
  - str_token(): split string before token
2024-07-28 15:14:07 +02:00
2cd1289cd6 misc.c -> util.c, add str_token()
move util funtions declarations to util.h
2024-07-27 14:02:07 +02:00
d5920886a3 add uci pst option (not handled) 2024-07-25 09:56:27 +02:00
4733a1d65f add structure for eval parameters 2024-07-25 09:27:30 +02:00
c93ed5ba01 cleanup 2024-07-25 09:26:07 +02:00
e5a9303d08 simplify pos_clear 2024-07-25 09:24:31 +02:00
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