Skip to main content

Play mastermind with python !

Project description

This package allows you to play Mastermind


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 !

GitHub Logo

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.

Files for mastermind, version 0.6
Filename, size File type Python version Upload date Hashes
Filename, size mastermind-0.6-py3-none-any.whl (217.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size mastermind-0.6.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page