Question
PYTHON 3.5.1 VERSION!!! DON'T COPY AND PASTE ANSWER FROM ANOTHER QUESTION, IT DOESNT WORK! IT HAS TO BE DONE IN 3.5.1 VERSION!!! Write a Python
PYTHON 3.5.1 VERSION!!! DON'T COPY AND PASTE ANSWER FROM ANOTHER QUESTION, IT DOESN"T WORK! IT HAS TO BE DONE IN 3.5.1 VERSION!!!
Write a Python programming BOGUS dice game.
in Bogus Dice game Bogus is nearly the opposite of the dice game Yahtzee. In Yahtzee, you have five dice that are rolled. You then have the opportunity to re-roll some of the dice in order to improve the results. The best roll possible in that game is five-of-a-kind, where all dice are showing the same value. In that game, that roll is called Yahtzee. In bogus dice, were trying to get as few matching dice as possible. As in Yahtzee, a turn will consist of three rolls. Unlike Yahtzee, we are forced to re-roll a set number of dice based on how good or bad our current set of dice are. Hand names: Nothing- no dice have matching values A pair- two of the dice have matching values Two pair two sets of two dice have matching values, the remaining die is different from these Three of a kind- three dice have matching values, the other two are different Full house- three dice have matching values, the other two are different value, but match each other Four of a kind- four dice have matching values, the other is different Five of a kind (Bogus!) all five dice have the same value Your goal in playing a hand of Bogus is to end up with the fewest dice with the same values on them. However, if you start out with a good Bogus hand, youre forced to re-roll more of the dice. The following table shows how many dice youre required to re-roll after each roll. If you have: You must re-roll: Nothing All five dice A pair Four of the dice of your choice Two pair, or three of a kind Three of the dice of your choice Full house, four of a kind Two of the dice of your choice Five of a kind Only one die of your choice After you end your hand, points are awarded for the following: If you have You score: Nothing 10 points A pair 5 points Two pair 4 points Three of a kind 2 points Full house 0 points Four of a kind -2 points Five of a kind -5 points The game will continue until one player has a total score of more than 40 points. For our game, you are to have the user choose a two player alternating taking turns, or the player faces off against a computer opponent.
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