Commit Graph

  • ef25455ac0 added gif for readme main Karma Riuk 2025-02-19 15:00:37 +01:00
  • 4aa3d4ba33 updated readme Karma Riuk 2025-02-19 13:56:14 +01:00
  • cb1a1274a0 updated readme Karma Riuk 2025-02-19 13:54:30 +01:00
  • 1ff9b33bda updated makefile and readme Karma Riuk 2025-02-19 13:48:22 +01:00
  • f7733c1317 updated main Karma Riuk 2025-02-19 13:44:17 +01:00
  • 0aa8b7a16f updated README Karma Riuk 2025-02-19 13:39:15 +01:00
  • ebf5934909 added possibility to make moves from string (with tests) Karma Riuk 2025-02-16 12:44:58 +01:00
  • ecba8e3c6e minor fix Karma Riuk 2025-02-16 11:37:52 +01:00
  • 1834b3b8ce fixed the ordering of the moves Karma Riuk 2025-02-16 11:13:59 +01:00
  • ec4cc85ca3 logging depth reached with iterative deepening v2.2.2 Karma Riuk 2025-02-16 10:59:04 +01:00
  • 97f9def306 generalized the position counter v2.2.1 Karma Riuk 2025-02-16 10:42:30 +01:00
  • f68dedeb20 made v6, does iterative deepening until the thinking time runs out v2.2.0 Karma Riuk 2025-02-16 10:32:15 +01:00
  • 4eae988999 fixed warnings Karma Riuk 2025-02-16 10:32:09 +01:00
  • 62a35ecafd made ai better at endgames (it's just a start) v2.0.1 Karma Riuk 2025-02-16 10:12:06 +01:00
  • 5cbe57dc55 Removed the python version and kept just the c++ one v2.0.0 Karma Riuk 2025-02-16 09:36:04 +01:00
  • 0145664567 minor fixes Karma Riuk 2025-02-16 09:30:02 +01:00
  • 959ecdeb7d added the opponenent pawn attack map move better ordering Karma Riuk 2025-02-16 09:28:55 +01:00
  • adf21ee021 minor stuff Karma Riuk 2025-02-09 21:18:51 +01:00
  • 989225c2d7 fixed bugs Karma Riuk 2025-02-07 20:08:25 +01:00
  • aef6fc39e3 fixed slight bug Karma Riuk 2025-02-07 19:39:52 +01:00
  • 2260cd918a implemented promotion for white Karma Riuk 2025-02-07 19:31:35 +01:00
  • 3bc5b75f1e implemented v4 that resolves all the captures after looking at the next two moves (all of them) Karma Riuk 2025-02-07 19:14:09 +01:00
  • 377e5dfdcc implemented move ordering to improve on alpha_beta pruning Karma Riuk 2025-02-07 18:24:57 +01:00
  • 10de9828be implemented alpha beta pruning Karma Riuk 2025-02-07 17:49:08 +01:00
  • 9942832b18 caching check and nlm Karma Riuk 2025-02-07 17:35:14 +01:00
  • 5b45fc32c0 annoying Karma Riuk 2025-02-07 16:18:11 +01:00
  • d28008d913 committing to stash and compare Karma Riuk 2025-02-07 15:08:53 +01:00
  • 86beb9cc85 renamed v1_simple to v1_pure_minimax Karma Riuk 2025-02-07 15:08:10 +01:00
  • 8edde1a8b1 caching checks and no legal moves Karma Riuk 2025-02-07 14:15:10 +01:00
  • 182d183247 committing to stash and compare Karma Riuk 2025-02-07 14:02:56 +01:00
  • 1b14ed693d made small opti Karma Riuk 2025-02-07 11:09:00 +01:00
  • a80fc9482d base for testing optimization Karma Riuk 2025-02-07 10:46:01 +01:00
  • 88b2d01cf8 made v1_simple multithreaded again Karma Riuk 2025-02-07 10:03:37 +01:00
  • 979d44fad0 fixed small bug Karma Riuk 2025-02-07 10:03:32 +01:00
  • db87c2ec8b minor stuff Karma Riuk 2025-02-07 09:52:37 +01:00
  • f3e28d2646 found better terminal condition for v1_simple Karma Riuk 2025-02-07 09:52:09 +01:00
  • 7e888bba61 made v1_simple single threaded because it was getting messy Karma Riuk 2025-02-07 09:51:49 +01:00
  • 1d83c066f6 made v0_random thinking longer Karma Riuk 2025-02-07 09:51:22 +01:00
  • 2764787e63 made v1_simple look 4 moves into the future, it's parallelized Karma Riuk 2025-02-07 00:32:34 +01:00
  • c71cabb3cd fixed tests Karma Riuk 2025-02-07 00:29:49 +01:00
  • 0525bd565e minor fixes Karma Riuk 2025-02-07 00:29:39 +01:00
  • 695cef33df fixed test execution Karma Riuk 2025-02-07 00:29:17 +01:00
  • 75b6c35cc5 if the ai found the move before the thinking_time is over, stop the thread to return Karma Riuk 2025-02-06 23:46:34 +01:00
  • 74fa99fe7b faking some thought for the random player Karma Riuk 2025-02-06 23:46:06 +01:00
  • 0274f44647 minor fix Karma Riuk 2025-02-06 23:46:00 +01:00
  • a5abe39aa4 added a position to perft Karma Riuk 2025-02-06 23:37:55 +01:00
  • e056ef0805 minor modifications to ai v1 Karma Riuk 2025-02-06 22:57:06 +01:00
  • dc6631f79c made AIs aware what colour they were playing Karma Riuk 2025-02-06 22:56:41 +01:00
  • d6aa977a15 added the 50-move draw rule Karma Riuk 2025-02-06 22:39:11 +01:00
  • 6e567f2f11 added the check for insufficient material Karma Riuk 2025-02-06 22:34:48 +01:00
  • fced9757c2 made figuring whether the board is terminal easier Karma Riuk 2025-02-06 22:10:47 +01:00
  • 04134f013c implemented the ai vs ai controller Karma Riuk 2025-02-06 21:21:18 +01:00
  • 47cf8b3539 unified controller interface Karma Riuk 2025-02-06 20:59:05 +01:00
  • a47130e5d0 fixed variable name Karma Riuk 2025-02-06 20:41:17 +01:00
  • e0a52f57b7 made the thinking time of AIs common to all of them Karma Riuk 2025-02-06 20:38:27 +01:00
  • 74e4d596a7 very easily implemented the human_vs_ai controller (god i love a good design) v1.1.0 Karma Riuk 2025-02-06 20:12:12 +01:00
  • 60e1a77fcb fixed slight bug Karma Riuk 2025-02-06 20:11:58 +01:00
  • 46a835df4b moved some code around because it made more sense Karma Riuk 2025-02-06 20:11:11 +01:00
  • 10257351cb created a no-op gui (to run the games without showing them, can be useful) Karma Riuk 2025-02-06 19:48:53 +01:00
  • 96f0ec5399 implemented full manual controller Karma Riuk 2025-02-06 19:42:41 +01:00
  • e376d67c83 added to string for piece and colour Karma Riuk 2025-02-06 19:41:48 +01:00
  • d8557d02df now showing target squares of legal moves Karma Riuk 2025-02-06 19:11:30 +01:00
  • d08a5cca39 extracted a function to utils Karma Riuk 2025-02-06 19:11:03 +01:00
  • 058616fa89 extracted the drawing of the annotation in it's own function Karma Riuk 2025-02-06 18:45:11 +01:00
  • b8627ace14 quick little refactoring Karma Riuk 2025-02-06 18:34:54 +01:00
  • 77f77ac04e now we draw the annotations for the squares Karma Riuk 2025-02-06 18:23:44 +01:00
  • 56b74318c1 moved colours Karma Riuk 2025-02-06 18:23:19 +01:00
  • 811acaa479 drawing pieces correctly Karma Riuk 2025-02-06 17:58:49 +01:00
  • 1ae0cad802 fixed colours Karma Riuk 2025-02-06 17:32:57 +01:00
  • f540246817 we're starting to get somewhere here Karma Riuk 2025-02-06 17:31:16 +01:00
  • 42484f4217 small refactoring to get rid of compiler warning Karma Riuk 2025-02-06 16:18:13 +01:00
  • 72f3431418 big refactoring: put everything in model to allow for better mvc structure (yes i'm doing view in cpp) Karma Riuk 2025-02-06 16:15:56 +01:00
  • 1231e4da92 added the less than operator to store the objects in maps Karma Riuk 2025-02-06 15:57:21 +01:00
  • 32c7832001 cleaned up the ais a bit Karma Riuk 2025-02-06 15:57:06 +01:00
  • 5f093907f3 small refactoring Karma Riuk 2025-02-06 15:45:32 +01:00
  • 6d8a3f7dc0 made lambda capture values by reference, not by value Karma Riuk 2025-02-06 10:55:25 +01:00
  • 108c0c3b90 added 500 equal positions to start from for the AIs to fight Karma Riuk 2025-02-06 10:44:54 +01:00
  • e821814cd1 updated the code of main v1.0.1 Karma Riuk 2025-02-06 10:43:28 +01:00
  • 2899820bcc created a very stupid player that plays random moves Karma Riuk 2025-02-06 10:43:07 +01:00
  • 6fd9b15261 moved stickfosh to the ais folder, since we want to create multiple versions and make them fight Karma Riuk 2025-02-06 10:42:42 +01:00
  • 97b3eeb984 first version of stickfosh, simply evaluates a position based on the material (no AB-pruning) v1.0.0 Karma Riuk 2025-02-05 17:11:09 +01:00
  • 982f933698 removed useless include Karma Riuk 2025-02-05 17:11:00 +01:00
  • d21fcde21c renamed stickfosh to perft, it's more appropriate Karma Riuk 2025-02-05 16:23:16 +01:00
  • a47dc9b695 Merge branch 'main' into opti-2-compacting-move v0.7.2 Karma Riuk 2025-02-05 15:37:57 +01:00
  • e8ca1db8d6 using the thread pool for each move in the top level of the search (x4~ improvement) v0.7.1 Karma Riuk 2025-02-05 15:30:55 +01:00
  • 73b2a5b51b created threadpool Karma Riuk 2025-02-05 15:17:10 +01:00
  • 3f3017a389 removed useless comments Karma Riuk 2025-02-05 14:41:23 +01:00
  • f768d16a7e removed en passant from move Karma Riuk 2025-02-05 14:40:43 +01:00
  • a658673d2b remove castle side from move Karma Riuk 2025-02-05 14:33:59 +01:00
  • 222adbb8f0 removed the is_capturing flag of move Karma Riuk 2025-02-05 14:25:35 +01:00
  • c55645ad73 using global peft v0.7.0 Karma Riuk 2025-02-04 21:53:07 +01:00
  • 1b0af3b486 annotated each depths with its time (to then compare with the different optimizations) Karma Riuk 2025-02-04 21:52:07 +01:00
  • df20060075 added global peft Karma Riuk 2025-02-04 21:51:58 +01:00
  • 151a50fba9 made move str better (includes promotion) Karma Riuk 2025-02-04 21:51:14 +01:00
  • 609d5f8c98 fixed castle right rook capture coords Karma Riuk 2025-02-04 21:50:43 +01:00
  • e9c96e83da fixed en passant offset Karma Riuk 2025-02-04 21:50:30 +01:00
  • 76310400e8 added empty line before move counts to ease copying Karma Riuk 2025-02-03 23:41:27 +01:00
  • e5bb2d1a5f printing moves normally Karma Riuk 2025-02-03 23:41:16 +01:00
  • 4c86d5e815 fixed castling rights on capture Karma Riuk 2025-02-03 23:40:30 +01:00
  • b1812f1df6 removed the inclusion of move in piece Karma Riuk 2025-02-03 19:10:49 +01:00