0

Hi

i don't know if anyone can help me or not??

i have an assignment about java dice game and here is the instructions:

This program will simulate two people playing a two dice game. The objective of this game is to be the first to score 100 points. The two players take turns to roll two dice following these rules:

1. If the number one does not appear in either of the dice, the player adds the two dice values to his/her score and the turn passes to the next player.

2.If the number one appears in one die, nothing is added and the turn passes to the next player.

3.If the number one appears in both dice then the player loses all the accumulated points and the turn.

thnks