Commit Graph

56 Commits

Author SHA1 Message Date
stefiosif
062a2fe903 Rename project 2024-09-16 19:32:45 +03:00
stefiosif
49b413d24f Refactor make_move, internal functions, move parsing and add more tests 2024-09-14 20:55:00 +03:00
stefiosif
b26357a205 Add move ordering heuristic MVV/LVA 2024-09-14 20:29:53 +03:00
stefiosif
d3c4078fcc Change PSQT at endgame 2024-09-14 20:22:45 +03:00
stefiosif
2093d91dfa Refactor some clippy-pedantic errors 2024-09-06 20:30:57 +03:00
stefiosif
6b9650a6f0 Improve readability and remove redundant code 2024-09-06 20:07:10 +03:00
stefiosif
2081ddac56 Add clap and update scripts 2024-09-06 19:05:42 +03:00
stefiosif
0815837cd5 Return early if king is under check and small refactorings 2024-09-04 18:57:00 +03:00
stefiosif
fec27b0d02 Implement quiescence search for leaf nodes 2024-09-04 18:56:20 +03:00
stefiosif
e817229d12 Convert minimax to negamax and implement alpha-beta pruning 2024-09-03 20:35:08 +03:00
stefiosif
ba0cbf4d7d Add minimax and adapt UCI tests 2024-09-01 14:15:02 +03:00
stefiosif
e61d247411 Make more readability refactorings 2024-08-28 23:27:40 +03:00
stefiosif
46cf0f0d1f Implement unmake move 2024-08-28 21:08:32 +03:00
stefiosif
21076da68c Add utility functions for readability and refactor make_move 2024-08-28 21:07:22 +03:00
stefiosif
6c8f445fa9 Add LICENSE 2024-08-15 00:08:04 +03:00
stefiosif
336e2d8284 Add UCI communication example 2024-08-15 00:07:49 +03:00
stefiosif
b3d5930037 Remove uncommitted move_ordering from mod.rs 2024-08-14 22:01:10 +03:00
stefiosif
ed711f905d Refactor project structure to use submodules 2024-08-14 21:58:20 +03:00
stefiosif
69cabd5b58 Rename Kind to PieceType for clarity 2024-08-14 20:53:08 +03:00
stefiosif
c5267d0e2b Fix uci_position bugs and add test 2024-08-14 00:25:15 +03:00
stefiosif
a07324d81d Implement halfmove/fullmove counters 2024-08-14 00:24:05 +03:00
stefiosif
989a2e33c5 Implement piece/psqt scores and tests 2024-08-12 21:40:42 +03:00
stefiosif
bac5c33e3f Remove duplications and rewrite fn make_move 2024-08-09 23:54:53 +03:00
stefiosif
1988a7e309 Add new script and scripts folder 2024-08-04 15:54:43 +03:00
stefiosif
688a401a3d Merge UciGame and SerachParameters into UciParameters 2024-08-04 11:28:08 +03:00
stefiosif
191f7f9acb Add main uci communcation loop, no tests 2024-08-03 23:27:59 +03:00
48cf03fd9d Add basic UCI support 2024-07-31 23:59:09 +03:00
1c80db695f Implement Index traits for Kind 2024-07-16 21:52:14 +03:00
a1db302d0d Add make_move related functions into move.rs 2024-07-16 21:29:58 +03:00
b24190fd62 Rename names for better readability 2024-07-16 20:54:29 +03:00
ae95a941a2 Move State struct impl to its own file 2024-07-16 19:03:16 +03:00
8d779d69d0 Clean up duplicate code bishop/rook attacks using deltas for each direction 2024-07-16 19:02:19 +03:00
47561a8372 Use lsb and have_common_bit fn's for readability 2024-07-08 22:19:48 +03:00
13c3eb2eb1 Refactor duplicate code and make it more readable 2024-07-06 21:51:20 +03:00
57af0c3f27 Add release tag on github workflow 2024-07-05 20:33:46 +03:00
e3123f17d3 Fix move generator bugs related to castling, enpassant, promotion 2024-07-05 20:17:09 +03:00
2a1a3224cb Add perft function and fix move generator bugs using perftree 2024-07-01 23:29:56 +03:00
941c14c199 Add make_move fn and tests 2024-06-29 16:37:06 +03:00
a514431e7e Specify move type using new MoveType enum and update tests 2024-06-29 16:35:49 +03:00
f3b2aabf46 Make new fn's to update the State struct 2024-06-29 16:22:43 +03:00
b46c5874db Fix fen parsing for castling rights 2024-06-29 16:21:39 +03:00
349007a445 Remove Display trait from main structs 2024-06-29 16:13:46 +03:00
07af7294fa Move castling move generation logic to movegen.rs and refactor related repeated code 2024-06-14 21:46:37 +03:00
a0959bf6b9 Add move generation for castling 2024-06-12 00:16:21 +03:00
1f7cbbe577 Make en_passant_square an Option<u8> 2024-06-09 15:54:41 +03:00
880df665d5 Add move generation for all pieces (minus castling) and tests 2024-06-09 15:21:45 +03:00
2133fb3cad Add State struct as part of Board struct 2024-06-09 15:21:11 +03:00
a6d6347270 Add get_all_occupancies, is_attacked method and unit tests 2024-06-03 21:59:36 +03:00
7ccc1c404b Fix FEN parser mistake on file index 2024-06-03 21:58:48 +03:00
a3bebc12ff Merge branch 'master' of https://github.com/stefiosif/ippos 2024-05-29 21:36:05 +03:00