Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eleanor-clifford/mastermind
Classic Mastermind game written in python with tkinter
https://github.com/eleanor-clifford/mastermind
Last synced: 5 days ago
JSON representation
Classic Mastermind game written in python with tkinter
- Host: GitHub
- URL: https://github.com/eleanor-clifford/mastermind
- Owner: eleanor-clifford
- License: mit
- Created: 2017-11-05T18:15:40.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-02-15T00:30:38.000Z (almost 3 years ago)
- Last Synced: 2024-11-08T23:24:09.725Z (about 2 months ago)
- Language: Python
- Size: 83 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
| :exclamation: | This is a mirror of [https://git.sr.ht/~tim-clifford/mastermind](https://git.sr.ht/~tim-clifford/mastermind). Please refrain from using GitHub's issue and PR system. |
|----------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------|# Mastermind
Classic Mastermind game written in python with tkinter[project specification](specification.pdf)
## Getting Started
[rules](rules.txt)
### Running
$ python3 main.py
### Modifying the game
By default there are 6 colors and the code is 4 colors long. The maximum number of attempts is 10.This is stored as plaintext in [colors.txt](colors.txt) and can be modified easily
``` CHOICES: 4``` number of colors in the code
``` MAX ATTEMPTS: 10``` maximum attempts
```
#f00 red
#00f blue
#0f0 green
#ff0 yellow
#f0f pink
#ccc silver
```
colors can be added or deleted and the number of colors does not matter. The description after the hex code is ignored
## LicenseThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details