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.

Source Distribution

mastermind-0.5.tar.gz (214.9 kB view hashes)

Uploaded Source

Built Distribution

mastermind-0.5-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page