Commit Graph

232 Commits

Author SHA1 Message Date
beaa7bfcbc movegen: start to fix early bugs (wrong masks, etc...) 2024-02-29 09:33:18 +01:00
be32bae86a strengthen FEN parsing 2024-02-29 09:31:40 +01:00
8f0840fc2f add functions documentation - should be done earlier !! 2024-02-29 09:31:00 +01:00
6d412e7fce add move.c from pre-bitboard version 2024-02-29 09:27:29 +01:00
7859228f89 movegen-test: add fen test array 2024-02-29 09:19:24 +01:00
a8e3ec70f8 add square attackers fct 2024-02-29 09:18:19 +01:00
f1a081a7b6 add pawn movegen (untested) 2024-02-26 19:15:42 +01:00
ca4e274957 add in-between masks (with/without dest square. TODO: keep only one !) 2024-02-26 19:14:20 +01:00
e50d9a73e6 Makefile: cleanup 2024-02-26 19:11:46 +01:00
ccc0dfd2f6 temp commit for machine transfer 2024-02-22 09:37:02 +01:00
fa5c9bb8ab bitboard8_sprint -> bitboard_rank_sprint (temp, need BB+rank as input) 2024-02-22 09:29:10 +01:00
d00eab54e7 board.h: fix sq_make/sq_file 2024-02-22 09:13:12 +01:00
9c02a02c1e fen: add fen_test() 2024-02-22 09:11:25 +01:00
4d8f69e8c9 position: raw_board_print in octal, fix mask in pos_set_sq/pos_clr_sq 2024-02-22 08:35:26 +01:00
568b39e366 add movegen draft, add king square in pos_t, BRQKN move gen (untested) 2024-02-20 21:00:45 +01:00
403e625cbe add hyperbola-quintessence.[ch]}, rank move gen, + file/rook/queen 2024-02-15 10:15:13 +01:00
bc28a900be update brlib 2024-02-15 10:14:17 +01:00
c73c448c0b new board.h, sq_string() 2024-02-15 10:13:30 +01:00
3e828ed29b add bitboard_print_multi(), file/rank/diag/antidiag masks generation 2024-02-12 21:34:42 +01:00
d5906b1fb9 start bitboard init (see commit details)
- bitboard.c: make attacks for knight/king
- square macros (BB, BBfile, BBrank) renamed sq_make, sq_file,
  sq_rank, moved to board.h (and become temporarily inline funcs)
- different macros/defs moved to "correct place" (bitboard/board/piece):
  board.[ch]: everything related to board/square
  bitboard.[ch]: everything related to bitboards
  piece.[ch]: everything related to pieces
2024-02-11 20:47:09 +01:00
4f25c1416d re-organize defines / few bug fix 2024-02-10 09:16:59 +01:00
95cc25a2c2 memo.org 2024-02-08 09:52:35 +01:00
d6f2497bb0 rename typedefs - temp commit for computer change 2024-02-08 09:50:14 +01:00
1929d4bb1f bb migration: add util, update fen/fen-test + partial pos + piece 2024-02-07 22:08:24 +01:00
c57e0463cd Set back search.h file 2024-02-05 08:38:12 +01:00
33cd40b37f Duplicate search.h history. 2024-02-05 08:38:12 +01:00
797974f394 Copy search.h into temp-migration-bitboard/search.h 2024-02-05 08:38:12 +01:00
32fac4a0ba Keep search.h 2024-02-05 08:38:12 +01:00
56c9dde6fb Set back search.c file 2024-02-05 08:38:12 +01:00
0b6bdd6eb2 Duplicate search.c history. 2024-02-05 08:38:12 +01:00
10c29ab45d Copy search.c into temp-migration-bitboard/search.c 2024-02-05 08:38:12 +01:00
c44fc214af Keep search.c 2024-02-05 08:38:11 +01:00
13bbf45fc5 Set back position.h file 2024-02-05 08:38:11 +01:00
d2878f70ab Duplicate position.h history. 2024-02-05 08:38:11 +01:00
e2ec09ba65 Copy position.h into temp-migration-bitboard/position.h 2024-02-05 08:38:11 +01:00
beaeadedd2 Keep position.h 2024-02-05 08:38:11 +01:00
3798dbad4b Set back position.c file 2024-02-05 08:38:11 +01:00
c555bc2e72 Duplicate position.c history. 2024-02-05 08:38:11 +01:00
5b536df4b9 Copy position.c into temp-migration-bitboard/position.c 2024-02-05 08:38:11 +01:00
7653ff798f Keep position.c 2024-02-05 08:38:11 +01:00
276589364b Set back piece.h file 2024-02-05 08:38:11 +01:00
06f842a5c3 Duplicate piece.h history. 2024-02-05 08:38:11 +01:00
c9368a3ada Copy piece.h into temp-migration-bitboard/piece.h 2024-02-05 08:38:11 +01:00
b56f5b176b Keep piece.h 2024-02-05 08:38:11 +01:00
e0eccfbafd Set back piece.c file 2024-02-05 08:38:11 +01:00
bbb5840e39 Duplicate piece.c history. 2024-02-05 08:38:11 +01:00
c4eb134e92 Copy piece.c into temp-migration-bitboard/piece.c 2024-02-05 08:38:11 +01:00
624055eb26 Keep piece.c 2024-02-05 08:38:11 +01:00
163f4fedca Set back move.h file 2024-02-05 08:38:11 +01:00
52ec4198c1 Duplicate move.h history. 2024-02-05 08:38:11 +01:00