Lock Puzzle is a command-line interface (CLI) game inspired by the classic puzzles like Mastermind and Bulls and Cows. It challenges players to guess a secret numerical code within a limited number of attempts. After each guess, players receive feedback indicating how many digits are correct and how many of those are correctly positioned.
To play Lock Puzzle, clone this repository to your local machine using the following command:
git clone https://github.com/mfiro/lock_puzzle.git
cd lock_puzzle
Start the game by running:
python lockpuzzle/game.py
Follow the on-screen instructions to guess the secret code. The game will guide you through each attempt, providing feedback to help you refine your guesses.
- You will attempt to guess a secret numerical code of a specified length.
- After each guess, you'll receive feedback indicating:
- The number of digits that are correct and in the correct position.
- The number of digits that are correct but in the wrong position.
- Use this feedback to make your next guess.
- You have a limited number of attempts to guess the code correctly.
Good luck, and have fun!
see the LICENSE file for details.