Question about objects and classes for school assignment
I'm working on an assignment using if-else and loops for my Programming and Algorithms class. For the assignment I have to make a version of the dice game Pig where the user plays against the computer. One of the requirements is that it needs "an appropriate computer class that should play the computers role in the game." Could someone explain how this would be done or possibly give an example code?