Commit Graph
42 Commits
Author SHA1 Message Date
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 a23918ab8d enabled compiler optimizations + sped up search a little bit 2024-05-15 00:32:57 +02:00
rektdie 8df4630bb4 added UCI: main loop and go command parser 2024-05-05 20:31:33 +02:00
rektdie 1d6a9a8554 added uci: ParseMove and ParsePosition function 2024-05-04 19:03:42 +02:00
rektdie 9c63c5787d added simple negamax searching 2024-04-29 13:08:47 +02:00
rektdie 567405454d evaluation now returns score relative to side to move 2024-04-29 08:35:58 +02:00
rektdie 3507637d8f added positional evaluation 2024-04-26 16:01:20 +02:00
rektdie f7286d37a4 introduced basic position evaluation based on material 2024-04-17 09:56:11 +02:00
rektdie 28d8b2689f bugfix: looking for checkers in isLegalEnPassant didn't start from the king 2024-04-16 16:24:57 +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 34d689fda2 bugfix: isLegalEnPassant function returned wrong values 2024-04-16 08:57:28 +02:00
rektdie 83b514b300 bugfix: pawn last rank captures weren't promotions during check evasion 2024-04-15 23:23:49 +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 fd5f070172 bugfix: GetPinningRay function didn't start the ray from the king 2024-04-12 08:55:57 +02:00
rektdie ae581e0f03 bugfix: GetPinningRay jumped through the board 2024-04-11 12:17:10 +02:00
rektdie 054129b67b bugfix: pinned pieces couldn't capture their pinner 2024-04-11 08:39:09 +02:00
rektdie 8a18d45d4a bugfix: bishop could pin pieces on a horizontal or vertical line 2024-04-11 08:23:44 +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 1a25479a8c bugfix in check evasion 2024-04-10 09:39:07 +02:00
rektdie b4dc7125f9 fixed InCheck and its helper functions 2024-04-10 09:21:44 +02:00
rektdie 494cd13f7e added perft back + fixed some bugs with movegen 2024-04-09 21:44:33 +02:00
rektdie 825e553ca3 added IsPinned function and pawn pushes to block check 2024-04-07 22:53:10 +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 7dd2bd8823 removed time measurement from perft (temporarily) 2024-04-03 20:08:54 +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 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 bd6690d168 +additions to full board printing 2024-03-22 10:07:08 +01:00
rektdie ae93be7935 Added Board class constructor 2024-03-21 12:53:35 +01:00
rektdie dc887ee3c6 Fixed a bug in attack generation on the fly + slider attack tables init 2024-03-21 08:44:49 +01:00
rektdie 67f68c7598 +Relevant occupancy bit count lookup tables 2024-03-19 09:14:01 +01:00
rektdie 9680d905bd bb: getOccupancy based on index value 2024-03-11 23:23:52 +01:00
rektdie b4bc91ffc2 Added popCount function to bitboards 2024-03-03 21:28:39 +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