Skip to main content

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 !

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

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page