Question: Project 7-1: Pig Dice Rules Create a program that reads a list of rules from a file and displays them. Console Pig Dice Rules: *

 Project 7-1: Pig Dice Rules Create a program that reads a

Project 7-1: Pig Dice Rules Create a program that reads a list of rules from a file and displays them. Console Pig Dice Rules: * See how many turns it takes you to get to 20 . * Turn ends when player rolls a 1 or chooses to hold. * If you roll a 1 , you lose all points earned during the turn. * If you hold, you save all points earned during the turn. Specifications - Your instructor should provide a text file named rules.txt. - Your program should read the text file and display it on the console

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!