https://github.com/42lm/gomastermind
Terminal mastermind game written in go
https://github.com/42lm/gomastermind
go golang mastermind mastermind-game terminal terminal-game
Last synced: 6 months ago
JSON representation
Terminal mastermind game written in go
- Host: GitHub
- URL: https://github.com/42lm/gomastermind
- Owner: 42LM
- License: mit
- Archived: true
- Created: 2023-12-22T11:10:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-07T15:30:24.000Z (over 1 year ago)
- Last Synced: 2024-11-13T09:13:38.320Z (6 months ago)
- Topics: go, golang, mastermind, mastermind-game, terminal, terminal-game
- Language: Go
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go Mastermind
This is a very simple version of the game [Mastermind](https://en.wikipedia.org/wiki/Mastermind_(board_game)) for the terminal.[](https://asciinema.org/a/FdVPkIDr0WCzk1Z6DRQztmz2B)
## OBJECT OF THE GAME
The object of MASTERMIND (r) is to guess a secret code consisting of a series of 4 numbers/colors (in this one it is the numbers ```[1 2 3 4 5 6]```).
Each guess results in feedback narrowing down the possibilities of the code.
You win when you can crack the code within 12 guesses.* (1) A ```*``` indicates a Code Character of the right number and
in the right position.
* (2) A ```+``` indicates a Character of the right number but in the wrong position.
* (3) A ```.``` indicates a wrong number that does not appear in the secret code.> [!IMPORTANT]
> The indicators do not show which position they correspond to.
> They are displayed randmonly every guess.