Commit Graph
33 Commits
Author SHA1 Message Date
rektdie 4c217fa478 storing castling rights in 8 bits instead of 32 2024-05-16 01:35:16 +02:00
rektdie 4d8a7f6a2e added operator overloading to Bitboard class 2024-05-15 00:54:46 +02:00
rektdie 986b49b503 made some optimizations in PopBit and other parts 2024-05-14 23:14:27 +02:00
rektdie 119a87f227 cleaned up movegen 2024-05-13 18:04:36 +02:00
rektdie 9c787303f8 bugfix: castling rights were revoked after moving with a freshly promoted rook 2024-04-16 15:54:36 +02:00
rektdie ff0c0c785a rewrote the whole GetDirection function + minor bugfix in castling updates 2024-04-15 09:21:03 +02:00
rektdie 4226b21043 bugfix: double pawn pushes were identified as quiet moves + fixed castling rights change on rook capturing 2024-04-14 18:41:16 +02:00
rektdie 41b54eb0c3 Revert "fixed a bug in previous commit + doublePawnPushes were not working"
This reverts commit c97c3acb27.
2024-04-14 15:18:39 +02:00
rektdie c97c3acb27 fixed a bug in previous commit + doublePawnPushes were not working 2024-04-14 15:11:22 +02:00
rektdie e4ca91d565 bugfix: capturing a roon didn't remove the right to castle on that side 2024-04-14 12:18:36 +02:00
rektdie 72b327c3ff bugfix: attackMaps wasn't updating 2024-04-11 08:10:36 +02:00
rektdie d6574824fd bugfix: epCapture on square a1 was possible 2024-04-10 10:13:52 +02:00
rektdie 494cd13f7e added perft back + fixed some bugs with movegen 2024-04-09 21:44:33 +02:00
rektdie 5ad4b970a4 added MakeMove function logic 2024-04-09 08:51:42 +02:00
rektdie 825e553ca3 added IsPinned function and pawn pushes to block check 2024-04-07 22:53:10 +02:00
rektdie 3fe2b9c20c now generating basic king moves + fixed UB with move objects 2024-04-05 21:27:15 +02:00
rektdie 09dfeb7198 Cleared previous method of movegen 2024-04-04 22:49:56 +02:00
rektdie e442906d66 Added attack maps and fixed illegal castle move generation 2024-04-04 02:17:18 +02:00
rektdie 5962c37546 Added perft function + fixed some move generation bugs(there are still some) 2024-04-01 22:04:43 +02:00
rektdie 915b93ad5a added enPassant capturing + validating all moves 2024-04-01 13:10:55 +02:00
rektdie e0444257b3 Simplified making and unmaking moves with helper functions + fixed minor bugs 2024-04-01 02:37:32 +02:00
rektdie 8535042c04 added UnmakeMove function to unmake the last move 2024-03-31 22:44:42 +02:00
rektdie 025ae1eceb added promotion moves(with captures as well) 2024-03-31 20:39:40 +02:00
rektdie 6b5127424e added castling moves 2024-03-31 14:17:35 +02:00
rektdie 9534a787f9 added en passant 2024-03-30 22:22:30 +01:00
rektdie 2d777be0a5 added 3 move types to DoMove function 2024-03-30 16:45:10 +01:00
rektdie 2aebd781fb GenPawnMoves function 2024-03-28 20:00:33 +01:00
rektdie b58c6bea77 added InCheck function to board class 2024-03-26 10:02:21 +01:00
rektdie bd6690d168 +additions to full board printing 2024-03-22 10:07:08 +01:00
rektdie 076ce9b904 Added moveList to Board class + some helper functions 2024-03-21 12:50:03 +01:00
rektdie d0d7af4a79 Move class + full board print function 2024-03-21 11:57:40 +01:00
rektdie f7d65e8af8 moved imports from cpp files to headers + Makefile bugfix 2024-03-03 15:43:56 +01:00
rektdie 78fe989180 Added makefile and rook mask generation 2024-03-03 12:45:01 +01:00