Doc init
This commit is contained in:
parent
774f1ad514
commit
7211ca0573
1 changed files with 19 additions and 0 deletions
19
DOC.md
Normal file
19
DOC.md
Normal file
|
@ -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
|
Loading…
Reference in a new issue