python please Description: You want to create a game for 2 people that uses a single dice roll to move you around the 2

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

python please Description: You want to create a game for 2 people that uses a single dice roll to move you around the 2

Post by answerhappygod »

python please
Description: You want to create a game
for 2 people that uses a single dice roll to move you around the 20
space board. The first player to reach the end, wins. As the
player goes from start to finish, occasionally they will be given a
"chance" opportunity. If the roll is either 3 or 6, the player is
asked to guess whether or not the next roll will be even or
odd. If player is correct, they move forward the original
spaces rolled plus the number of spaces on the second roll.
If they fail, they move 0 spaces.
Requirements:
Python Please Description You Want To Create A Game For 2 People That Uses A Single Dice Roll To Move You Around The 2 1
Python Please Description You Want To Create A Game For 2 People That Uses A Single Dice Roll To Move You Around The 2 1 (110.97 KiB) Viewed 28 times
Enter name of player 1: Joe Enter name of player 2: Sue Round 1: Joe rolls the dice and gets 4 Joe moves 4 spaces forward and is now on space 4 Sue rolls the dice and gets 5 Sue moves 5 spaces forward and is now on space 5 Round 2: Joe rolls the dice and gets 2 Joe moves 2 spaces forward and is now on space 6 Sue rolls the dice and gets 3 Chance Opportunity: Guess whether the next roll of the dice will be odd or even: even The dice roll is 5 which is odd; Sue doesn't move any spaces and stays on space 5 Round 3: Joe rolls the dice and gets 5 Joe moves 5 spaces forward and is now on space 11 Sue rolls the dice and gets 4 Sue moves 4 spaces and is now on space 9 Round 4: Joe rolls the dice and gets 6 Chance Opportunity: Guess whether the next roll of the dice will be odd or even: odd The dice roll is 1 which is odd; Joe now moves the sum of the two rolls 6 + 1 Joe moves 7 spaces and is now on space 18 Sue rolls the dice and gets 4 Sue moves 4 spaces and is now on space 13 Round 5: Joe rolls the dice and gets 5 Joe moves 5 spaces forward and is now on space 23 End of Game! Joe wins on space 23 Sue is on space 13
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply