Question: Python 3-Classes Yacht-z - Create a dice game that uses the Die class that was given in the lecture notes Create a new class called
Python 3-Classes

Yacht-z - Create a dice game that uses the Die class that was given in the lecture notes Create a new class called Die in a file called 'die.py', add the code from the lecture notes, and then add an equals method by overloading theoperator. Then create a second file for your main program The player rolls a set of 3 dice. If two of the dice are the same then the player receives 1 point for a pair. If all of the dice are the same, then the player receives 3 points for 3-of-a-kind (note if a player gets a 3-of-a-kind they shouldn't also get points for having a pair). If the dice values are in a series, then the player receives 2 points (ex. 1-2-3, 3-2-1, 2-1-3, or any other order of these values would be considered a series) Create a list of three Die objects and a variable for the player's points in your main program Make three functions that pass in the list of dice to check for each of the three different win types that use the Die's overloaded >, and/or
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
