Commit graph

83 commits

Author SHA1 Message Date
2ab571db24 A new beginning of a new strategy 2024-12-26 21:13:17 +01:00
598d835142 Documentation almost done 2024-12-25 22:45:29 +01:00
f5fad9f1c7 Typo fix 2024-12-25 11:52:01 +01:00
7211ca0573 Doc init 2024-12-25 11:51:42 +01:00
774f1ad514 Better rule wording 2024-12-14 10:53:15 +01:00
b5d0eab173 no guess printing 2024-12-14 02:04:44 +01:00
4c6018bf3c Unknown guesses 2024-12-12 13:20:51 +01:00
26394d7c29 A small optimizaiton of empty_color calculating 2024-12-12 13:16:52 +01:00
bcc10f94a8 Simplification 2024-12-12 08:22:06 +01:00
3cd8d33800 Learning fix 2024-12-11 14:00:00 +01:00
64249b1465 10 guesses should suffice 2024-12-11 13:44:14 +01:00
a31c5d05e0 [0/0] response after cleaning and better comments 2024-12-11 13:41:12 +01:00
264881428e Brute force is now implemented within minimax 2024-12-11 08:03:32 +01:00
d8cebb863f Dead code removal service 2024-12-11 07:50:29 +01:00
ee3aa889b8 Guess-count macro 2024-12-06 23:59:27 +01:00
59f246f918 std::endl into \n 2024-12-04 12:46:56 +01:00
137c23cda7 Binary value if a human is playing 2024-12-04 12:38:33 +01:00
7d756bc066 Comment 2024-12-04 12:30:03 +01:00
02f72064cd Game state implemented in separate .cpp file 2024-12-04 12:29:54 +01:00
a9b8f34c2d Responses enumed and weight skeleton 2024-12-04 12:17:06 +01:00
48042b7d15 Responses should be enums 2024-12-04 12:16:40 +01:00
5b908ef7dd README now contains commandline arguments 2024-11-28 17:18:25 +01:00
3d359cef83 Solver optimizations - only repeat history learning, if something changed and game queries are now constant if repeated 2024-11-14 14:30:25 +01:00
b280ddde19 Input clearing 2024-11-14 14:29:28 +01:00
b595f3d51e Better printing 2024-11-08 21:47:54 +01:00
ea6f60fc29 Fixed cleaning and if_not_here_then_nowhere 2024-11-08 21:39:02 +01:00
8b5a69ffbc Bot mode only shows history 2024-11-08 21:36:34 +01:00
4ee22b14e9 return 1 if lost 2024-11-08 12:10:43 +01:00
d2d660f4e9 Printed brute-forced sequenced was different from guessed, so it was useless 2024-11-08 11:56:48 +01:00
a444c5db1c Cleaning historic guess didn't check for -1 2024-11-07 23:40:48 +01:00
9a2589c553 Debug info if bot plays 2024-11-07 22:26:08 +01:00
2ccb889d5f pragma once 2024-11-07 22:19:24 +01:00
e86ba08846 Implementation successfully got out of the header files 2024-11-07 22:17:35 +01:00
adcc4961a6 Brute forcing possible sequences 2024-11-07 18:41:57 +01:00
d405a2db95 Added support for commandline arguments and defaults 2024-11-07 18:41:26 +01:00
2304c0277a Added defaults 2024-11-07 12:02:50 +01:00
d68126bfbb Checking consistency of guesses 2024-11-07 10:40:20 +01:00
d5f5a02523 Get all possible colors for all positions 2024-11-05 11:53:24 +01:00
7889133977 Comments 2024-11-04 19:17:58 +01:00
8bbfb250d2 Solver doesn't need to remember known sequence colors 2024-11-04 19:08:56 +01:00
61d53d7700 Solver should remember, how long the sequence is 2024-11-04 19:06:36 +01:00
245324d9c3 Game-state should be asked properly and not interact with its contents 2024-11-04 18:56:11 +01:00
1d416deed8 Game-state should be asked properly and not interact with its contents 2024-11-04 18:43:43 +01:00
0cee5a167e Comment consistency 2024-11-04 18:30:42 +01:00
29ef860752 Current guess can be appended to history right away and info will be extracted there 2024-11-04 18:28:20 +01:00
53195b5c8b Minor readability changes + repeating learning from history 2024-11-04 18:26:17 +01:00
9bc8a326c1 If the numbers in the response add to N, colors not featured in the guess are not present in the guessed sequence 2024-11-04 16:29:26 +01:00
fed923923b On an only-inplace-colors response, we can deduce which colors are in place 2024-11-04 15:27:10 +01:00
f0fda2b9c9 Having left something to learn from responses should be default 2024-11-04 15:03:14 +01:00
2f32921976 Better code segmentation 2024-11-04 15:01:33 +01:00