Create the logic for a game that simulates rolling two dice


Problem

Create the logic for a game that simulates rolling two dice by generating two numbers between 1 and 6 inclusive. The player chooses a number between 2 and 12 (the lowest and highest totals possible for two dice). The player then "rolls" two dice up to three times. If the number chosen by the user comes up, the user wins and the game ends. If the number does not come up within three rolls, the computer wins.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Create the logic for a game that simulates rolling two dice
Reference No:- TGS02647040

Expected delivery within 24 Hours