Question: python3 write a program with these functions :print_current_player , roll_dice ,take_turn, report_points, get_next player . Here is sample output Game Mechanics There are two players:
python3 write a program with these functions :print_current_player , roll_dice ,take_turn, report_points, get_next player .

Here is sample output 

Game Mechanics There are two players: the user and the computer, who alternate turns until one of them reaches 100 points or higher * The user is always the first player, . If any player reaches 100 points or more at the end of their turn, the game ends immediately and the other player does not get another turn. One turn consists of the following: the player rolls a 6-sided die o If they roll a 1, they score 1 point and their turn is over. Even if a player has accumulated points from previous rolls, if they roll a 1, their score for that turn will be 1 point and their turn is over o If they roll any other number, the roll score is added to the turn total. o Then, they have the option to continue rolling or to hold. There is no restriction on how many times a player can roll in a turn. . Holding: if a player holds, they score their current turn total and their turn ends. If, for example, a player rolled a 3, 4, and 2, then decides to hold, they score 9 points. . If the player is the user, they are given the option as to whether they would like to continue rolling or hold after each time they roll the die and do not geta 1 . If the player is the computer, they will always continue rolling until their turn total reaches the value 10 or higher
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
