Skip to content

Complete rules, interactive mode, simple command line interface

Compare
Choose a tag to compare
@obestwalter obestwalter released this 09 Apr 22:03
· 288 commits to master since this release

Features

Note: The commandline tool is called sim in this release not mau-mau

  • Complete rules of Mau Mau
  • two different strategies:
    • simple random strategy for a computer player
    • strategy that adds interactivity so a human can play against the computer
  • Functions to run multiple games and collect stats
  • Flexible command line interface (add new functions without adjusting code)
  • automatic tests with py.test, tox and Travis CI
  • Logging with the stdlib logging module
  • Use of Python protocols to create custom classes which behave like inbuilt data types