Commit Graph
111 Commits
Author SHA1 Message Date
rektdie c1e048c0c6 added command 'bench' 2024-10-15 01:26:44 +02:00
rektdie 81c52f05e3 added stop UCI command + little adjustments 2024-10-14 22:58:57 +02:00
rektdie aaa3a72081 Makefile now crates Engine-[enginename] 2024-10-14 21:22:52 +02:00
rektdie fde3e281b0 added Iterative Deepening with very basic time management 2024-10-14 15:07:58 +02:00
rektdie abe07eb844 searches return a result class instead of an int 2024-09-29 13:03:59 +02:00
rektdie 22a9a692c5 added checkmate and stalemate detection to search 2024-09-25 13:38:55 +02:00
rektdie a0adf43891 Switched to PVS from NegaMax, removed TT temporarily 2024-09-10 09:53:54 +02:00
rektdie 7c4fbc1f6d added Transposition tables 2024-07-13 22:20:15 +02:00
rektdie 2e984643c0 fixed bugs in hashKey generation + added incremental updates to it 2024-07-08 18:06:11 +02:00
rektdie 436f2d7164 added GetHashKey function to hash a given board 2024-06-29 16:56:43 +02:00
rektdie 869af6662b switched to 3d array for storing zobrist piece keys 2024-06-29 05:38:15 +02:00
rektdie 62ba07a283 implemented zobrist keys init function 2024-06-29 05:19:45 +02:00
rektdie 6f8272b51b bugfix in move ordering + changed default search depth to 6 2024-06-22 14:41:56 +02:00
rektdie 8c4a157797 added killer moves to move ordering 2024-06-22 05:50:19 +02:00
rektdie cb403943cb implemented Move Ordering (MVV-LVA) 2024-06-21 14:38:36 +02:00
rektdie 328c9e93dc forgot to edit moveList handling in search.cpp 2024-06-19 21:49:35 +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 a23918ab8d enabled compiler optimizations + sped up search a little bit 2024-05-15 00:32:57 +02:00
rektdie d89956a2fb implemented quiescence search 2024-05-13 13:07:13 +02:00
rektdie b78c9cc196 added ply counting in search 2024-05-06 23:22:53 +02:00
rektdie 2338d87506 detecting checkmate and stalemate in search 2024-05-06 21:50:08 +02:00
rektdie c6b6b62051 updated readme 2024-05-06 01:59:26 +02:00
rektdie c3894a8e24 handling other 'go' command parameters with a depth 5 search 2024-05-06 00:42:43 +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 8d9a4bccaa added alpha beta pruning to NegaMax 2024-04-30 08:20:49 +02:00
rektdie 0638d8c899 bugfix: NegaMax function got the board as reference 2024-04-30 00:22:32 +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 5f77c88c85 bugfix: en passant was always possible in check evasions 2024-04-15 10:48:05 +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 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