Commit Graph

  • f7286d37a4 introduced basic position evaluation based on material rektdie 2024-04-17 09:56:11 +02:00
  • 28d8b2689f bugfix: looking for checkers in isLegalEnPassant didn't start from the king rektdie 2024-04-16 16:24:57 +02:00
  • 9c787303f8 bugfix: castling rights were revoked after moving with a freshly promoted rook rektdie 2024-04-16 15:54:36 +02:00
  • 34d689fda2 bugfix: isLegalEnPassant function returned wrong values rektdie 2024-04-16 08:57:28 +02:00
  • 83b514b300 bugfix: pawn last rank captures weren't promotions during check evasion rektdie 2024-04-15 23:23:49 +02:00
  • 5f77c88c85 bugfix: en passant was always possible in check evasions rektdie 2024-04-15 10:48:05 +02:00
  • ff0c0c785a rewrote the whole GetDirection function + minor bugfix in castling updates rektdie 2024-04-15 09:21:03 +02:00
  • 4226b21043 bugfix: double pawn pushes were identified as quiet moves + fixed castling rights change on rook capturing rektdie 2024-04-14 18:41:16 +02:00
  • 41b54eb0c3 Revert "fixed a bug in previous commit + doublePawnPushes were not working" rektdie 2024-04-14 15:18:39 +02:00
  • c97c3acb27 fixed a bug in previous commit + doublePawnPushes were not working rektdie 2024-04-14 15:11:22 +02:00
  • e4ca91d565 bugfix: capturing a roon didn't remove the right to castle on that side rektdie 2024-04-14 12:18:36 +02:00
  • fd5f070172 bugfix: GetPinningRay function didn't start the ray from the king rektdie 2024-04-12 08:55:57 +02:00
  • ae581e0f03 bugfix: GetPinningRay jumped through the board rektdie 2024-04-11 12:17:10 +02:00
  • 054129b67b bugfix: pinned pieces couldn't capture their pinner rektdie 2024-04-11 08:39:09 +02:00
  • 8a18d45d4a bugfix: bishop could pin pieces on a horizontal or vertical line rektdie 2024-04-11 08:23:44 +02:00
  • 72b327c3ff bugfix: attackMaps wasn't updating rektdie 2024-04-11 08:10:36 +02:00
  • d6574824fd bugfix: epCapture on square a1 was possible rektdie 2024-04-10 10:13:52 +02:00
  • 1a25479a8c bugfix in check evasion rektdie 2024-04-10 09:39:07 +02:00
  • b4dc7125f9 fixed InCheck and its helper functions rektdie 2024-04-10 09:21:44 +02:00
  • 494cd13f7e added perft back + fixed some bugs with movegen rektdie 2024-04-09 21:44:33 +02:00
  • 7e541a40ed bugfix in IsPinned function rektdie 2024-04-09 12:02:27 +02:00
  • 9bff7fa8b4 added promotions rektdie 2024-04-09 09:04:33 +02:00
  • 5ad4b970a4 added MakeMove function logic rektdie 2024-04-09 08:51:42 +02:00
  • e70a40d865 added castling to move generation rektdie 2024-04-09 08:24:10 +02:00
  • 1c8686d81c bugfix: IsLegalEnPassant() rektdie 2024-04-08 22:09:55 +02:00
  • 1fe3c615cc reverted last change rektdie 2024-04-08 22:07:46 +02:00
  • e02940010a fixed a bug in IsLegalEnpassant function rektdie 2024-04-08 22:03:13 +02:00
  • 36db22ea6b generating all other moves except castles rektdie 2024-04-08 21:44:46 +02:00
  • 70607073bc added en passant to check evasion rektdie 2024-04-08 12:16:11 +02:00
  • 70179b953d bugfix: Checkers function, added: helper functions to detect partial pins in the future rektdie 2024-04-08 09:19:23 +02:00
  • 3a7531cd3d fixed a bug with IsPinned function rektdie 2024-04-07 23:05:39 +02:00
  • 825e553ca3 added IsPinned function and pawn pushes to block check rektdie 2024-04-07 22:53:10 +02:00
  • 6883266961 now returning PopCount with builtin GCC extension rektdie 2024-04-06 13:29:53 +02:00
  • 2bf5865dc0 BB:PrintBoard() printing . and X instead of 0 and 1 rektdie 2024-04-05 23:37:29 +02:00
  • 3fe2b9c20c now generating basic king moves + fixed UB with move objects rektdie 2024-04-05 21:27:15 +02:00
  • b388adf692 added 16bit move encoding rektdie 2024-04-05 09:25:24 +02:00
  • 09dfeb7198 Cleared previous method of movegen rektdie 2024-04-04 22:49:56 +02:00
  • cc4409ef3d added nps measurement to perft rektdie 2024-04-04 08:25:09 +02:00
  • e442906d66 Added attack maps and fixed illegal castle move generation rektdie 2024-04-04 02:17:18 +02:00
  • 7dd2bd8823 removed time measurement from perft (temporarily) rektdie 2024-04-03 20:08:54 +02:00
  • 693cfd07ac added bulk counting to perft + reorganized it's outputs rektdie 2024-04-03 08:31:42 +02:00
  • 5962c37546 Added perft function + fixed some move generation bugs(there are still some) rektdie 2024-04-01 22:04:43 +02:00
  • 915b93ad5a added enPassant capturing + validating all moves rektdie 2024-04-01 13:10:55 +02:00
  • e0444257b3 Simplified making and unmaking moves with helper functions + fixed minor bugs rektdie 2024-04-01 02:37:32 +02:00
  • 8535042c04 added UnmakeMove function to unmake the last move rektdie 2024-03-31 22:44:42 +02:00
  • 025ae1eceb added promotion moves(with captures as well) rektdie 2024-03-31 20:39:40 +02:00
  • 6b5127424e added castling moves rektdie 2024-03-31 14:17:35 +02:00
  • 9534a787f9 added en passant rektdie 2024-03-30 22:22:30 +01:00
  • 2d777be0a5 added 3 move types to DoMove function rektdie 2024-03-30 16:45:10 +01:00
  • effefd1aba introduced move types rektdie 2024-03-29 14:31:32 +01:00
  • 06b50a4033 generating queen and king moves as well rektdie 2024-03-28 20:27:19 +01:00
  • c45b57c234 added GenRookMoves function rektdie 2024-03-28 20:20:30 +01:00
  • ac826394bd fixed a bug with pushing pawn moves rektdie 2024-03-28 20:14:16 +01:00
  • 3a5e6d4151 added GenKnightMoves function rektdie 2024-03-28 20:09:20 +01:00
  • 2aebd781fb GenPawnMoves function rektdie 2024-03-28 20:00:33 +01:00
  • b58c6bea77 added InCheck function to board class rektdie 2024-03-26 10:02:21 +01:00
  • 3bc75f843f added getQueenAttack function rektdie 2024-03-26 08:15:34 +01:00
  • bd6690d168 +additions to full board printing rektdie 2024-03-22 10:07:08 +01:00
  • ae93be7935 Added Board class constructor rektdie 2024-03-21 12:53:35 +01:00
  • 076ce9b904 Added moveList to Board class + some helper functions rektdie 2024-03-21 12:50:03 +01:00
  • d0d7af4a79 Move class + full board print function rektdie 2024-03-21 11:57:40 +01:00
  • ec8e4cf0a6 PrintBoard() now prints in hex as well rektdie 2024-03-21 10:00:26 +01:00
  • dc887ee3c6 Fixed a bug in attack generation on the fly + slider attack tables init rektdie 2024-03-21 08:44:49 +01:00
  • 67f68c7598 +Relevant occupancy bit count lookup tables rektdie 2024-03-19 09:14:01 +01:00
  • 9680d905bd bb: getOccupancy based on index value rektdie 2024-03-11 23:23:52 +01:00
  • 20f0ea142a Bitboards: added PopBit() rektdie 2024-03-04 10:05:16 +01:00
  • 13c7bcc092 Added function to bb: getting least significant 1st bit index rektdie 2024-03-03 22:19:02 +01:00
  • b4bc91ffc2 Added popCount function to bitboards rektdie 2024-03-03 21:28:39 +01:00
  • f7d65e8af8 moved imports from cpp files to headers + Makefile bugfix rektdie 2024-03-03 15:43:56 +01:00
  • 67d6095aba fixed a bug in makefile which created empty folder rektdie 2024-03-03 14:24:22 +01:00
  • 9c1530107d updated makefile to work with Windows rektdie 2024-03-03 13:07:24 +01:00
  • 78fe989180 Added makefile and rook mask generation rektdie 2024-03-03 12:45:01 +01:00
  • 9976cb0968 Add files via upload rektdie 2024-03-02 22:23:36 +01:00
  • 98e3f3ca87 Updated rektdie 2024-03-01 02:07:11 +01:00
  • 38c2182dee Updated rektdie 2024-02-29 07:28:04 +01:00
  • 81e2f2f268 Fixed a typoo rektdie 2024-02-27 09:15:03 +01:00
  • 1cc466c09c Simplified PrintBoard function rektdie 2024-02-27 09:14:30 +01:00
  • e46c9bb21f Files uploaded from project rektdie 2024-02-26 23:31:39 +01:00
  • 274db1aefd Initial commit rektdie 2024-02-26 23:30:46 +01:00