![]() |
![]()
| ![]() |
![]()
NAMEmastermind - A console-based color/number guessing game SYNOPSISmastermind [-v | -h | -n] DESCRIPTIONmastermind is a color guessing game that runs in the console. Players need to guess a color combination randomly generated by the computer within a limited number of attempts. The game uses 8 different colors, and players need to guess 4 unique colors and their correct order. OPTIONSGAME RULESThe computer randomly generates a sequence of 4 different colors. Players have 10 chances to guess this sequence. After each guess, the game provides feedback:
COLORSThe game uses the following 8 colors:
CONTROLSPlayers select colors by inputting numbers 1-8. For example, inputting "1234" selects red, blue, green, and yellow. Inputting 'r' or 'R' can switch the display mode between colored blocks and numbers. Inputting 'q' or 'Q' can quit the game at any time. GAME INTERFACEThe game interface is presented in the console using ASCII characters and ANSI color codes. The interface includes: EXAMPLES
AUTHORQiang Guo <bigdragonsoft@gmail.com> COPYRIGHTCopyright (C) 2024 BigDragonSoft (bigdragonsoft.com) BUG REPORTSIf you find any errors or have suggestions for improvement, please visit the project's GitHub page to submit issues: https://github.com/bigdragonsoft/mastermind
|