Play mastermind with python !
Project description
This package allows you to play Mastermind
Install
pip install mastermind
How to use in a jupyter notebook
Copy and paste the following lines into a cell of a notebook and run it:
from mastermind import MastermindNotebook
game = MastermindNotebook()
The game should display, you can start playing by choosing one color for each position and click on "Confirm combination" button !
State of development
-
A Tkinter interface must be developed to play outside a notebook, feel free to contribute !
-
Add a DB to record all the games for one user
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mastermind-0.3.tar.gz
(214.9 kB
view hashes)