/betabrain

Mastermind in Python

Primary LanguagePythonMIT LicenseMIT

BetaBrain

An implementation of the mastermind game in python, and a working solver.

Project Structure

└──────betabrain/
    ├──────solver/ The solver(s) for the mastermind game
    ├──────GUI/    An example of GUI using the game
    ├──────game/    The actual code running the game
    └──────tests/  Unit test code

Tests

Unit tests are done using the vanilla unittest module. You can execute them on a module bases (cd <module>) by doing a

python -m unittest tests/*.py