Commit graph

96 commits

Author SHA1 Message Date
451c28a203 Add Makefile 2025-07-26 09:13:53 +02:00
f715b02e8d Documentation done 2024-12-31 10:47:17 +01:00
c55dbee834 Added optimal first guess and better code readability 2024-12-30 23:45:31 +01:00
213209243e Simpler mode for faster decisions 2024-12-27 02:27:43 +01:00
5dbaa7444f First guess is static 01234... 2024-12-26 23:46:46 +01:00
10c52ebec9 Gen is now based on current milliseconds, not seconds 2024-12-26 23:30:54 +01:00
c73d5c9ba4 Made the strategy work 2024-12-26 23:30:54 +01:00
604f229cd8 Made the strategy work 2024-12-26 23:09:21 +01:00
c095843041 Guessing is depending on minimax picking 2024-12-26 21:24:20 +01:00
7b591bf2aa Going through possible sequences can be range-based 2024-12-26 21:21:55 +01:00
2dd5ef9b99 Minor improvements 2024-12-26 21:19:57 +01:00
16e1acc51d Minimax implemented without getting weight 2024-12-26 21:18:05 +01:00
cfbe716587 New learning implemented 2024-12-26 21:13:50 +01:00
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