Create two pairs of dice objects
$25-30 USD
着払い
Unlucky 7 (Due 24 Oct 2001) Create two pairs of dice objects, one for the user and one for the computer. The object of the game is to see who accumulates the most total points <= 30. A running sum of roll totals is kept. First the user takes their turn. They may roll their dice as many times as they like. If they roll a total of 7 (the sum of both die), their sum is returned to zero and their turn is finished. If they exceed 30, their turn is also finished. When the player's turn is over, the computer gets its turn. Its turn is over when it rolls a total > 24 or it rolls a total of seven. Addendum: This program should consist of a main method which keeps track of the totals from the pair of dice and prints the appropriate messages for a win, loss or tie with the computer and your own class that rolls a pair of dice and returns their value.
## Deliverables
Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased.
プロジェクトID: #2831312