Commit graph

55 commits

Author SHA1 Message Date
2401bf5f5d Revert default for --weights parameter 2023-12-22 23:44:03 +01:00
38aa7a3efb Update default weights and documentation 2023-12-22 23:37:55 +01:00
f22edf8084 Rework statistics, add score 2023-12-22 22:40:08 +01:00
da7f83735b Coord was inverted (is <y><x>) 2023-12-22 22:38:37 +01:00
e39a1380f4 Rename Parties to Games 2023-12-22 21:58:42 +01:00
d3077f8fea Simplify weight heuristic calculation 2023-12-22 16:18:44 +01:00
1b984f7a5e Fix error in global time calcution
Was not reseted
2023-12-22 15:12:11 +01:00
fe185631b3 Make pep8 happier 2023-12-22 14:27:06 +01:00
5ebf2d9d57 Put nix shell on the project root 2023-12-22 13:35:07 +01:00
6e2d2c2a7b Make pep8 happy 2023-12-22 13:08:26 +01:00
807ae7daa6 Enhance gameover message with properly diplayed times 2023-12-22 12:08:14 +01:00
67f7a94166 Fix black play time calculation 2023-12-22 12:08:09 +01:00
1f7fa0c988 display time statistics 2023-12-22 11:44:10 +01:00
d66cd99751 Fix display for recuse informations 2023-12-22 01:56:44 +01:00
23468ffe05 Add recurse game mode
And display statistics after
2023-12-22 01:16:55 +01:00
4a8d97c4ed Move message display coordinate in [A-J][0-9] form 2023-12-22 01:15:12 +01:00
f8cf9e6bff Fix reset when boardsize is not 8 2023-12-22 01:12:44 +01:00
507964cd6b Rework board display and human interaction 2023-12-21 23:09:04 +01:00
d846549bb7 Fix error in variable name for AlphaBeta with ID 2023-12-21 22:27:50 +01:00
3d3f757f41 Show more information when ID search finish 2023-12-21 22:07:56 +01:00
5cfd2ce404 Fix: heuristic save on Iterative Deepening 2023-12-21 21:46:13 +01:00
5f69c5ed9f Add sume utility methods 2023-12-21 21:45:19 +01:00
d480887a1d Better display at the end of game 2023-12-21 17:27:44 +01:00
8c825506f5 Enhance player display 2023-12-21 17:18:26 +01:00
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
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
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