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 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
Get step-by-step solutions from verified subject matter experts
