c5a1936e3b
UCI moves && games states list
2024-06-27 10:11:24 +02:00
ffd5d056cc
move_t flags: mask -> value, unique castling flag (1 bit saved)
2024-06-25 15:33:56 +02:00
ec2d2291d4
clean move_t: Remove capture/dpush/promotion flags, captured piece
2024-06-12 07:45:22 +02:00
32ade1777f
ren macros mask->BIT/C64->U64, del pinners/checkers/blockers in state_s
2024-05-06 07:41:27 +02:00
ab31274d17
movegen: add some generic fonctions
2024-04-11 10:03:35 +02:00
92d6909546
update (C) notice
2024-03-28 10:37:52 +01:00
ce2e0e8459
add forgotten changes in bitboard-switch branch (git is so... difficult)
2024-03-23 17:41:15 +01:00
3a06407d5a
move: exclusive M_CAPTURE / M_EN_PASSANT
2024-03-20 09:58:42 +01:00
49705bc707
rename few macros to lowercase, add M_DPUSH move flag
2024-03-19 18:30:10 +01:00
dc916f5c56
move.h: revert flags to direct bit mask
2024-03-18 09:15:16 +01:00
49302c7a60
lowercase move flags macros
2024-03-17 17:33:48 +01:00
260d8d34bd
move.h: simplify flags. movegen.c: add pos_next_legal()
2024-03-16 10:06:55 +01:00
037d49e4ca
move-do: copy from pre-bitboard version
2024-03-15 10:53:26 +01:00
b3f0dd0534
add move_str()
2024-03-15 09:10:32 +01:00
08082faed3
moves_print() and move_sort_by_sq(): use movelist_t instead of pos_t
2024-03-12 10:42:24 +01:00
890cb05296
add move_make_promote_capture and move_make_capture
2024-03-11 16:10:16 +01:00
87e7695873
new pos/bb funcs, legal(), better castling gen, etc. [see commit details]
...
- new sq_pinners
- new pseudo_is_legal() (unfinished)
- improve castling pseudo move gen
- more position and lower level bitboard helper funcs:
- pos_{_occ,between_occ,between_count,pinners}
- bb_{rank,file,rel_rank,_sq_aligned,_sq_between)
- rename some bitboard globals
- replace bb ranks/files enums with defines (issue with clang)
-> Need to find a way to use enum safely
- tests:
- add common-test.h
- new attack-test.c
2024-03-10 10:58:14 +01:00
6d412e7fce
add move.c from pre-bitboard version
2024-02-29 09:27:29 +01:00
f1a081a7b6
add pawn movegen (untested)
2024-02-26 19:15:42 +01:00
fa5c9bb8ab
bitboard8_sprint -> bitboard_rank_sprint (temp, need BB+rank as input)
2024-02-22 09:29:10 +01:00
568b39e366
add movegen draft, add king square in pos_t, BRQKN move gen (untested)
2024-02-20 21:00:45 +01:00
163f4fedca
Set back move.h file
2024-02-05 08:38:11 +01:00
5841baf619
Copy move.h into temp-migration-bitboard/move.h
2024-02-05 08:38:11 +01:00
754b011d05
fix _moves_gen_eval_sort()
2023-07-12 21:34:04 +02:00
88d2d4061f
add moves sort
2023-07-11 22:21:42 +02:00
48319cf21a
add M_PR_NL option in move_print()
2023-07-09 15:53:57 +02:00
7952a34c88
Add pos negamax function
2023-07-07 15:53:26 +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
8857dec6cd
cleanup
2023-07-02 12:15:22 +02:00
1e4af66379
moge gen: all moves count as mobility
2023-06-25 16:01:13 +02:00
1154f141c9
start bitboard integration
2023-06-22 16:08:57 +02:00
a28cd5c492
pod_dup(): duplicate also pieces list
2021-11-15 11:23:37 +01:00
f0e1836f2f
add memstats / clear lists when new fen position
2021-11-14 16:03:36 +01:00
451afea6b5
refactor position: now contains board (not board *)
2021-11-12 20:22:20 +01:00
bd7d9f8551
add memory pool for positions
2021-11-12 18:33:39 +01:00
bd88da013c
pos: added mobility. move_gen: hangle castling
2021-11-12 11:00:59 +01:00
e55c2e9cbe
bug fix for moves count + move_add, clean debug
2021-11-08 10:05:43 +01:00
d38e2f4543
Occupancy & square control bitboards + continue printf->logX
2021-11-08 08:38:38 +01:00
0e117bc2f9
move from printf to logX() - unfinished.
2021-11-03 12:39:23 +01:00
06548a6464
Add flags for move display. Fix move generator color + pawn capture
2021-11-01 09:37:40 +01:00
537c36d14c
add castle pseudo-moves
2021-10-31 20:43:43 +01:00
3ac41d7f78
Add pawn pseudo-moves
2021-10-31 19:57:14 +01:00
2f701c4bd5
pseudo-moves for pieces (not pawns nor special moves)
2021-10-31 12:16:11 +01:00
7bdc428485
add license information & rename typedefs
2021-10-29 09:00:10 +02:00
264459dc0f
initial files
2021-10-27 16:09:56 +02:00