You are building a dice game. Like any good game, your game should have players. But you don't just want a single kind of player. No. You want your game to be interesting, so you want many types of players.
The goal of this exercise is to create classes to represent those various types of players and to write a Program
class that will test them out.
- Clone this repo.
- Create a new repo under your github account.
- Change the remote origin of the local repo to your new github repo.
- Read the existing code. Add or modify comments as needed to help you understand it.
- Add code to each "Player" class to make it behave the way it should.
- See the comment above each class for instructions.
- Complete the classes in the order specified below.
- After completing each class, use it to create one or more Player objects in the
Main()
method. Write code to test these new objects. - Add the new Player object(s) to the
players
list, so they will be passed to thePlayMany()
method.
NOTE: Make sure to FULLY TEST each class immediately after you write it. Do NOT write all the classes before you test.
SmackTalkingPlayer
OneHigherPlayer
HumanPlayer
CreativeSmackTalkingPlayer
SoreLoserPlayer
UpperHalfPlayer
SoreLoserUpperHalfPlayer