Answered step by step
Verified Expert Solution
Question
1 Approved Answer
General Guidelines When Writing Programs: See previous assignments. xX Qwixx You will write a version of the dice game Qwixx Klassisch eistach - eisfach Masse
General Guidelines When Writing Programs: See previous assignments. xX Qwixx You will write a version of the dice game Qwixx Klassisch eistach - eisfach Masse 2013 In this game there are 6 dice, 2 white dice and 4 colour dice: red, yellow, green and blue and each player has a game board as shown below PIEI DES JAH 2 345 67 8 9 10 11 12 a 2 345 6 78 9 10 11 12a 1211 | 109 8716 5 432 12 11 109876 5 4 32 6 Ergebrls The goal of the game is to score as many points as possible. The more numbers you cross off the higher your score. There are 4 rows of numbers, each a different color, and two of them go from 2-12 whereas the other two go from 12-2. The main rule is that you have to start on the left and go to the right - and if you pass up a number, well you're out of luck. In other words, you can mark off a number only if it's to the right of all marked-off numbers in the same row. So, if you marked of say the 2, 3 and 6 on the red row, the next number you can mark is 7 (or higher). You cannot mark off 4 and 5 anymore. At the start of each new round: . The player changes (this is now the players who's turn it is) The dice are rolled General Guidelines When Writing Programs: See previous assignments. xX Qwixx You will write a version of the dice game Qwixx Klassisch eistach - eisfach Masse 2013 In this game there are 6 dice, 2 white dice and 4 colour dice: red, yellow, green and blue and each player has a game board as shown below PIEI DES JAH 2 345 67 8 9 10 11 12 a 2 345 6 78 9 10 11 12a 1211 | 109 8716 5 432 12 11 109876 5 4 32 6 Ergebrls The goal of the game is to score as many points as possible. The more numbers you cross off the higher your score. There are 4 rows of numbers, each a different color, and two of them go from 2-12 whereas the other two go from 12-2. The main rule is that you have to start on the left and go to the right - and if you pass up a number, well you're out of luck. In other words, you can mark off a number only if it's to the right of all marked-off numbers in the same row. So, if you marked of say the 2, 3 and 6 on the red row, the next number you can mark is 7 (or higher). You cannot mark off 4 and 5 anymore. At the start of each new round: . The player changes (this is now the players who's turn it is) The dice are rolled
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