Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Yatzy game framework

Project description

Yatzy

Python framework for playing Yatzy (Yahtzee).

Types

Roll

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.

Scorecard

Object for scoring rolls.

TODO

  • Add str/repr methods.
  • 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.1.0
Filename, size File type Python version Upload date Hashes
Filename, size yatzy-0.1.0-cp37-cp37m-macosx_10_15_x86_64.whl (7.1 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size yatzy-0.1.0.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