Commit graph

87 commits

Author SHA1 Message Date
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
090e1e6ffe Validation is now faster 2024-11-03 12:06:36 +01:00
e4d73dbde1 Highlighting history showed one appearance multiple times 2024-11-03 11:58:14 +01:00
97aa9a14a5 Game didn't respond right 2024-11-03 11:55:13 +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
d8369930e9 Example in README 2024-11-02 23:04:41 +01:00
e3940d5a58 Print sequence if lost 2024-11-02 22:37:47 +01:00
35ae7de10b Game rules in README 2024-11-02 21:54:21 +01:00
b2377d8195 Initial README 2024-11-02 21:50:32 +01:00
929e722622 Start of learning from responses 2024-11-02 21:37:20 +01:00
6c2f10b6c0 Rearrange macros 2024-11-02 18:18:52 +01:00
4e7bfee548 Simply print 'history' 2024-11-02 18:17:46 +01:00
79c02ef701 Terminal output in much more user-friendly format 2024-11-02 17:54:58 +01:00
e403157b65 Game skeleton is working 2024-11-02 17:30:12 +01:00
526ef69c4a Also print remaining values from history 2024-11-02 17:29:54 +01:00
1d25ddc3bf typo fix 2024-11-02 17:22:31 +01:00
8ab20c7022 missing ; 2024-11-02 17:20:23 +01:00
4a8890826f highlight history now contains spaces 2024-11-02 17:16:38 +01:00
3e5bdb52e0 Printing what was right on a guess 2024-11-02 17:13:32 +01:00
b41dfcb303 solver needs to learn from the response 2024-11-02 16:57:27 +01:00
eabdc8757e Formatting printable guesses 2024-11-02 16:56:20 +01:00
13aaaadcc0 Generator of printable responses 2024-11-02 16:51:12 +01:00
976dd9dc7c Solver publicity 2024-11-02 16:42:06 +01:00
2b0a13f6db Added guess response 2024-11-02 16:22:05 +01:00
a5fab72e1a A skeleton of game solving 2024-11-02 16:13:27 +01:00
3aa98da0b4 Random sequence generator 2024-11-02 16:13:03 +01:00
63f748b9da Taking game parameters 2024-11-02 15:56:03 +01:00
fdd7faed9d Initial commit 2024-11-02 14:21:16 +00:00