Commit Graph

105 Commits

Author SHA1 Message Date
11d3501a35 copyright dates 2023-11-15 12:28:57 +01:00
48b5420830 Add check array in position structure 2023-07-25 06:54:33 +02:00
f27b649503 typo in bits.c 2023-07-14 23:14:57 +02:00
605ef7d201 add first TODO (valgrind/mem check) 2023-07-14 22:15:33 +02:00
aa1e9fdeda add license 2023-07-14 21:46:10 +02:00
d3c78cb0af remove TOC 2023-07-14 21:05:44 +02:00
4ff9df9369 Initial STATUS.org 2023-07-14 21:00:29 +02:00
b3fde55107 .gitignore: valgrind.out 2023-07-14 08:45:46 +02:00
f2d4f07069 valgrind: ignore libreadline errors 2023-07-14 08:35:47 +02:00
b855ba59aa do not generate moves in pvs() terminal nodes 2023-07-13 10:39:36 +02:00
20403a0795 improve search() and pvs() output 2023-07-13 09:49:02 +02:00
c7e2aec77c Move bitboards constants to bitboard.h 2023-07-13 09:48:16 +02:00
754b011d05 fix _moves_gen_eval_sort() 2023-07-12 21:34:04 +02:00
e2a3563fce use eval_simple() as base for eval() 2023-07-12 21:32:26 +02:00
d852e0bc1d adjust nodecounts, fix PVS 2023-07-12 21:31:27 +02:00
3de87daa5a bug fix in pos_dup() 2023-07-12 21:30:24 +02:00
b5ed42746e cosmetic changes 2023-07-12 21:29:51 +02:00
0ca495576d add simple_eval and pvs. DO NOT USE PVS (need to use simple_eval) 2023-07-11 22:24:26 +02:00
ed9b9cc646 add nodes_count and moves_{generated,counted} in pos struct 2023-07-11 22:22:33 +02:00
88d2d4061f add moves sort 2023-07-11 22:21:42 +02:00
9932a64c97 add pvs(), aka Principal Variation Search 2023-07-11 22:20:43 +02:00
af1f5db507 add BB flip_V and FLIP_H macros 2023-07-11 22:13:06 +02:00
d76c10797a add debug_timer_elapsed() 2023-07-10 18:35:17 +02:00
36aa34a38b add list_sort lib 2023-07-10 18:33:58 +02:00
d9f03acb02 fix piece color in move_do 2023-07-10 13:17:26 +02:00
683b6ad66b add debug_level_get 2023-07-10 13:11:38 +02:00
b1e6461f6f Add DEBUG_DEBUG_C 2023-07-10 13:10:53 +02:00
65f1bef987 cleanup 2023-07-09 16:22:42 +02:00
23e49f463e add Emacs .dirs-local.el 2023-07-09 16:04:20 +02:00
48319cf21a add M_PR_NL option in move_print() 2023-07-09 15:53:57 +02:00
0b787c8a90 Add negamax function (no α β pruning) 2023-07-09 15:44:50 +02:00
4bca805404 add move_t forward decl. 2023-07-09 15:42:41 +02:00
0df87ff41c Add bestmove in pos struct, add pos_check() 2023-07-09 15:36:14 +02:00
892bdcd004 debug: Add flush option 2023-07-09 15:33:37 +02:00
120a459206 add pos_del function 2023-07-07 15:53:57 +02:00
7952a34c88 Add pos negamax function 2023-07-07 15:53:26 +02:00
531bfa4fb0 remove unused lib includes 2023-07-07 12:28:22 +02:00
12f972e152 move.c: Code cleanup, add promotion in move_do 2023-07-07 12:11:17 +02:00
183e9ef2be Improve move gen, delete ling pos, 3 steps moves generation 2023-07-07 02:21:14 +02:00
6f7a04cc89 Add move_do (dup position), remove &board in move struct 2023-07-06 12:22:26 +02:00
a08b006b98 Add pre-processor and assembly generation 2023-07-06 12:19:00 +02:00
8857dec6cd cleanup 2023-07-02 12:15:22 +02:00
aa7cb11056 add FILE* output 2023-07-02 11:36:04 +02:00
fe5b21aad9 add CPPFLAGS in bin compile 2023-07-01 20:55:05 +02:00
bab3ea95b9 Makefile: cleanup, separate sections, better bin gen, add ccls/valgrind 2023-06-29 09:48:55 +02:00
09ceca44e5 pos: keep possibility to have opponent moves (NULL move) 2023-06-25 16:02:23 +02:00
1e4af66379 moge gen: all moves count as mobility 2023-06-25 16:01:13 +02:00
5bd8f9042a eval: add functions to get eval details 2023-06-25 15:56:36 +02:00
373a73cb52 eval_t is now s32 2023-06-25 15:55:12 +02:00
9c6830bc56 add inittial pos init function 2023-06-25 15:54:46 +02:00