Commit Graph
92 Commits
Author SHA1 Message Date
rektdie 41fed91fc2 fixed parseMove | bench 4118297 2025-03-12 21:46:24 +01:00
rektdie 7fb413fb01 swapped every \n with std::endl 2025-03-12 14:39:45 +01:00
rektdie ad6ee77a46 finished setbyfen 2025-03-12 14:30:12 +01:00
rektdie 69a7855f96 started rewriting setbyfen + utils 2025-03-12 13:04:44 +01:00
rektdie 15676a09e0 counting nodes on MakeMove | bench 4096824 2025-03-09 04:42:54 +01:00
rektdie 27f914eeaf implemented NMP 2025-03-05 14:32:29 +01:00
rektdie bc50eff52d en passant bugfix 2025-03-03 22:54:26 +01:00
rektdie 00c3be28ba fixed en passant bug 2025-03-03 22:25:33 +01:00
rektdie 8e26cc1013 fixed GetPieceType function 2025-03-03 20:12:06 +01:00
rektdie 2e984643c0 fixed bugs in hashKey generation + added incremental updates to it 2024-07-08 18:06:11 +02:00
rektdie 70bea0713c storing castling rights cheaper 2024-06-19 16:01:35 +02:00
rektdie 6e8f7e3d86 using fixed size array instead of vector to store moves 2024-06-19 02:30:28 +02:00
rektdie d566c6d0e4 added bitboard overloads + removed GetBoard() 2024-06-18 19:15:14 +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