Commit Graph

433 Commits

Author SHA1 Message Date
bd7d9f8551 add memory pool for positions 2021-11-12 18:33:39 +01:00
4442901b58 fix forgotten break in sq88 -> bitboard move_gen() 2021-11-12 12:33:39 +01:00
4365838276 simplify bitboard macros & move_gen use bitboard for occupied square 2021-11-12 12:28:44 +01:00
bd88da013c pos: added mobility. move_gen: hangle castling 2021-11-12 11:00:59 +01:00
37271bdd77 eval: basic mobility 2021-11-12 11:00:11 +01:00
6832cdf32a debug.c: fix indent level 2021-11-12 10:59:34 +01:00
28164beb37 board.h: add square defs for both 0x88 & bitboards 2021-11-12 10:57:47 +01:00
7c98f0d4c5 piece_t change, pack piece_details, conversion piece: mask<=>number 2021-11-10 15:54:13 +01:00
bc07a949b0 change piece_t mask, pack piece_details 2021-11-10 15:51:30 +01:00
f79524837a update gitignore 2021-11-09 21:03:29 +01:00
5623dc78a5 dummy eval func (pieces + square control), bit ops, shorter int types 2021-11-09 20:57:18 +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
c7faa88bfa structures forward declarations 2021-11-04 13:06:24 +01:00
ad155b5a60 piece: printf -> logX 2021-11-04 10:01:07 +01:00
0e117bc2f9 move from printf to logX() - unfinished. 2021-11-03 12:39:23 +01:00
45c01f59f7 debug.{c,h}: logging functions 2021-11-02 22:59:54 +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
cf1e88c926 style 2021-10-31 13:55:38 +01:00
16c0c06095 remove piece2char/piece2string (global var instead) 2021-10-31 13:44:08 +01:00
2f701c4bd5 pseudo-moves for pieces (not pawns nor special moves) 2021-10-31 12:16:11 +01:00
07e7cbc72a fen.c: bug fix wrong empty square loop in fen parsing 2021-10-31 08:30:53 +01:00
2ae81fec99 reverse SQUARE nibbles to match SQ88 (now redundant macros) 2021-10-31 08:28:43 +01:00
4f582b6633 piece.c 2021-10-30 22:04:28 +02:00
4bba067cd6 Add player's pieces list management + change board def. 2021-10-30 22:03:17 +02:00
f0d209a292 remove rook.c (will be in a single move.c) 2021-10-30 11:47:43 +02:00
f3124e728b pool.c: remove pool (list_head) offset, std: c99 -> gnu99 2021-10-30 11:42:01 +02:00
bc24cb550e pool.c, 1st version 2021-10-29 20:13:16 +02:00
7bdc428485 add license information & rename typedefs 2021-10-29 09:00:10 +02:00
27a7b15038 add binary 2021-10-27 18:48:18 +02:00
264459dc0f initial files 2021-10-27 16:09:56 +02:00