Two players each roll a die and the higher roll wins. Tiesget re-rolled in the real game but for now just say it is atie. Show both rolls so nobody accuses anyone of cheating.Write your requirements list before you write any code. Input, calculate, output, and anything you had to decide for yourself.
Random.Shared.Next(1, 7) the second number is where it stops, so a 7 there is how you get a 6. Activity 1.16 has the whole story.Player 1 rolls: 5Player 2 rolls: 3
Player 1 wins!Run it until you have seen all three outcomes — player 1 winning, player 2 winning, and a tie. The tie will take the longest and is the one most likely to be wrong.
Your requirements list and your program file, named cc-dice-duel.