|
8d46ff9829
|
move-do: use castling flags, other improvements (~12% on perft)
- always set K square and castling flags (remove expensive tests on K and castling flags)
- simplify castling rook move
- more restrictive sq_castle[]
|
2024-09-12 08:37:30 +02:00 |
|
|
bb13eae0b8
|
move-do: save move in state, pos-print: print last move
|
2024-06-28 11:44:38 +02:00 |
|
|
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 |
|
|
da489bad65
|
update include syntax
|
2024-06-25 13:07:33 +02:00 |
|
|
e61e1518f4
|
move_do_alt: use &state (as move_do)
|
2024-06-17 07:37:22 +02:00 |
|
|
148fef20ea
|
add info in pos_print, start perft TT testing
|
2024-06-13 10:28:32 +02:00 |
|
|
ec2d2291d4
|
clean move_t: Remove capture/dpush/promotion flags, captured piece
|
2024-06-12 07:45:22 +02:00 |
|
|
ebf01bc7db
|
perft_test -> perft, perf -> perft_alt move2 -> move, move -> move_alt
|
2024-06-09 22:15:20 +02:00 |
|
|
00fc61020c
|
"#define key_t" -> hkey_t type
|
2024-06-06 07:38:01 +02:00 |
|
|
2069d6073d
|
add pos_copy(); pos->king[] set at higher level
|
2024-05-16 07:16:17 +02:00 |
|
|
022daf0a89
|
typedef key -> #define key_t - can't use typedef, due to <sys/types.h>
|
2024-05-15 09:42:33 +02:00 |
|
|
c710da4bf9
|
move_do2: save/restore state inside func; perft: add silent option
|
2024-04-18 09:54:58 +02:00 |
|
|
0330696f87
|
pseudo_is_legal(): use sq_is_attacked() instead of sq_attackers()
|
2024-04-13 06:52:27 +02:00 |
|
|
03da11cc9c
|
cleanup when using bug_on()/warn_on()
|
2024-04-11 10:02:49 +02:00 |
|
|
e78eae21e6
|
cleanup move_do()
|
2024-04-10 12:57:08 +02:00 |
|
|
e8240c6cab
|
move_make_promotions(), clean move_do(), pos_gen_pseudomoves()
|
2024-04-09 08:15:43 +02:00 |
|
|
9b2f5ff751
|
move_{do,undo}: do not save/restore pos state
|
2024-03-27 12:42:45 +01:00 |
|
|
d0279125ae
|
move_{do,undo}: FIX forgotten king[] update, add few bug_on()
|
2024-03-23 17:37:40 +01:00 |
|
|
51c35e21f4
|
castling: lowercase macros, nove-{do,undo}: full (untested) version
|
2024-03-20 10:00:07 +01:00 |
|
|
08064dd1a1
|
start bb-based move_do
|
2024-03-19 18:30:31 +01:00 |
|
|
037d49e4ca
|
move-do: copy from pre-bitboard version
|
2024-03-15 10:53:26 +01:00 |
|