Commit graph

33 commits

Author SHA1 Message Date
2ab571db24 A new beginning of a new strategy 2024-12-26 21:13:17 +01:00
4c6018bf3c Unknown guesses 2024-12-12 13:20:51 +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
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
ea6f60fc29 Fixed cleaning and if_not_here_then_nowhere 2024-11-08 21:39:02 +01:00
a444c5db1c Cleaning historic guess didn't check for -1 2024-11-07 23:40:48 +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
d68126bfbb Checking consistency of guesses 2024-11-07 10:40:20 +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
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
f009a278ea Cleaned retrospective learning 2024-11-03 14:36:46 +01:00
de5b6f183a Guesses are cleaned from information already known 2024-11-03 14:16:40 +01:00
7aae78f92e Deciding whether there is something left to learn from responses 2024-11-03 12:15:35 +01:00
b2a572efb6 Learning better divided into functions 2024-11-03 11:51:36 +01:00
24a4d45640 If response only contains right positions, the colors still can be somewhere else 2024-11-03 11:24:17 +01:00
61125a7e64 Whole lot of TODOs 2024-11-03 10:55:37 +01:00
642dbb2b70 Debug what solver learns via human play 2024-11-03 10:48:08 +01:00
929e722622 Start of learning from responses 2024-11-02 21:37:20 +01:00
b41dfcb303 solver needs to learn from the response 2024-11-02 16:57:27 +01:00
976dd9dc7c Solver publicity 2024-11-02 16:42:06 +01:00
a5fab72e1a A skeleton of game solving 2024-11-02 16:13:27 +01:00