Commit graph

34 commits

Author SHA1 Message Date
2bcfc96ea0 Configure iterative deepening time with command line 2023-12-21 00:46:38 +01:00
f927aa1462 Add classes and method documentation 2023-12-21 00:30:08 +01:00
d2ada8734f Fix problem when initial depth > max_depth
In deepening function
2023-12-20 23:59:21 +01:00
eb29f45de2 Revole some debug log 2023-12-20 22:55:07 +01:00
59047be8d5 Fix iterative deepening start depth 2023-12-20 22:54:10 +01:00
1e5f87b5af Add heuritics informations 2023-12-20 22:52:05 +01:00
ebadd02df7 Adjust dome command line parameters 2023-12-20 22:51:02 +01:00
928cff6400 Adjust dome command line parameters 2023-12-20 22:48:16 +01:00
b4a2fd7484 Shuffle on legal_move() by default 2023-12-20 22:45:04 +01:00
1a670b59b5 Weight is now more accurate 2023-12-20 22:02:12 +01:00
dd70d575d4 Factorize code to remove dulicate parts 2023-12-20 21:37:59 +01:00
6979749d5d Create a function to give moves
It's possible to randomize it now
2023-12-20 18:25:55 +01:00
935d3b8f23 Fix condition in get_player_name() 2023-12-20 18:24:55 +01:00
9c541c90ea Remove useless infomations in formatter 2023-12-20 18:15:13 +01:00
5dbf82521d Change displayed informations 2023-12-20 01:35:42 +01:00
46e83a63ce Rework alphabeta function 2023-12-20 01:14:53 +01:00
aa9d13d587 First working version of iterative deepening alpha beta 2023-12-19 22:02:55 +01:00
2ffd077a26 Implement Iterative Deepening Minmax 2023-12-18 12:07:51 +01:00
8074175ad3 Remove Iterative Deepening garbage 2023-12-17 22:18:24 +01:00
55f2a29084 Instnciate Heuristics with right parameters 2023-12-17 22:17:50 +01:00
9a4febaaf4 Rework Heuristics 2023-12-17 22:16:43 +01:00
437f05c8b2 First implementation of Iterative Deepening MinMax 2023-12-17 17:37:07 +01:00
e506bcdab9 Add heuristic documentation 2023-12-17 01:19:58 +01:00
a64e318c82 Fix: bad parameters 2023-12-17 01:18:34 +01:00
c8447b7a6b Player is now a parameter og engines classes 2023-12-16 23:54:56 +01:00
66b10f4deb Weight can be configurable
for weight and full heuristic
2023-12-16 23:39:46 +01:00
a1812aaedf Implement heuristics classes 2023-12-16 23:02:36 +01:00
3784faeaed Display game board with Board.show_board() 2023-12-15 01:43:44 +01:00
7b49cac308 Remove player dependencie in validate_input() 2023-12-15 01:41:10 +01:00
72b35e6ea3 User input message contains help 2023-12-15 01:39:22 +01:00
e49e737ec0 Update documentation 2023-12-15 00:57:02 +01:00
c3ac347364 Rework options, now can be defined per player 2023-12-15 00:46:42 +01:00
1c039106d9 Add weight calculation heuristic 2023-12-15 00:24:28 +01:00
45abd8c7eb First commit: minmax and alphabeta implemented 2023-12-14 21:58:35 +01:00