Skip to main content

Yatzy game framework

Project description


Python framework for playing Yatzy (Yahtzee).



init(die1, die2, die3, die4, die5)

Initialize Roll with five specific die values. Must include all five dice. Arguments must be int values 1-6.

classmethod: roll()

Create a Roll object with random die values.


Re-roll with indicated die held from previous roll. Returns new Roll. Does not mutate previous Roll object.


Object for scoring rolls.


  • Add str/repr methods to Scorecard.
  • Add Scorecard methods for accessing individual score slots.
  • Retrieve available scoring slots.
  • Fill out Scorcard API documentation.

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 yatzy, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size yatzy-0.2.0.tar.gz (4.7 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 Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page