Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Your assignment is to create a dice game. The player will roll two six-sided dice. If the player rolls a 7 or11 on their first
Your assignment is to create a dice game. The player will roll two six-sided dice. If the player rolls a 7 or11 on their first attempt, they win. If they roll a 2, 3, or 12 on their first attempt, they lose. Otherwise, whatever they roll becomes their target, and their goal in subsequent rolls is to roll that target value. If in the course of attempting to roll the target, they roll a 7, they lose. If they roll their target, they win.When the game ends, the player can choose to play again or to stop.
program this in python please
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started