From 7211ca057377286bcf5081ab61a16ffb66081094 Mon Sep 17 00:00:00 2001 From: Matuush Date: Wed, 25 Dec 2024 11:51:42 +0100 Subject: [PATCH] Doc init --- DOC.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 DOC.md diff --git a/DOC.md b/DOC.md new file mode 100644 index 0000000..70192be --- /dev/null +++ b/DOC.md @@ -0,0 +1,19 @@ +# logik documentation + +## Game +At first, the game asks the player for game specs. +That can be done either by command-line argumenst, or if not specified - by stdin prompt. + +Then it has two modes: + +### Human mode +In this mode, the player has to deduce the secret sequence, which is done by guessing sequences like it. +Inside of the game, all that is happening is a loop consisting of taking user input, generating a response and outputting it. + +### Bot mode + +### Response generating +When a guess is entered, all that is done to make a response is comparing that guess to the secret sequence. +First it counts right colors, then the out-of-place right colors. + +## Solver