Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Instructions In this assignment, you will create pseudocode that reflects the main elements of the logic for your final project. Use the How To Write
Instructions
In this assignment, you will create pseudocode that reflects the main elements of the logic for your final project. Use the How To Write Pseudocode document to help you write the pseudocode. To complete this assignment, review the Pseudocode Guidelines and Rubric document.
IT 312 Pseudocode Guidelines and Rubri Overview: In this assignment, you will create pseudocode that reflects the main elements of the logic for your final project. This section should not be produced using actual code; however, you should include important variables, calculations, relationships, and/or any critical components of the problem. Your goal is to include all of the elements necessary to convert into functioning code Prompt: Address the following in your submission: A. B. C. D. E. Analyze the given problem statement. Break the problem down into distinct steps of pseudocode that will solve the problem Create variables to track the various elements in the pseudocode If applicable, determine any breakdown of pseudocode into functions and/or classes. Use natural language to work through the problems. Refer to the How to Write Pseudocode document for guidance Guidelines for Submission: This assignment should be submitted as a Microsoft Word document with 12-point Times New Roman font and one-inch margins. Rubric Critical Element Exemplary (100%) Proficient (85%) Need improvement (55%) Variables are present, but do not Variables are not assigned clearly represent the relevant values Pseudocode illustrates all of the Does not write pseudocode for Not Evident (096) Value 10 Assignments Meets "Proficient" criteria and utilizes best practices and naming conventions Meets "Proficient" criteria and Pseudocode that clearly sequence of linear logic demonstrates consideration of primary functionality and logic and logic, but pseudocode is not functionality and logic the order in which operations and is self-explanatory are All variables are assigned with logical names and represent relevant values Code Logic 25 illustrates all of the program's program's primary functionalityall of program's primary self-explanatory, has inconsistencies with the program's functionality, or contains significant errors or aps in detail Class / FunctionMeets "Proficient" criteria and Pseudocode identifies sections of Pseudocode contains sections of Pseudocode does not contain Identification demonstrates consideration of code that serve as classes and/or code that serve as classes and/or sections of code that serve as 15 encapsulation and/or polymorphism functions functions, but are not clearly identified or improperly structured classes and/or functions IT 312 Farkle Rules Develop a program that follows the rules of Farkle as described. On program start-up, it shall display the rules to the user as read from a text file submitted with the program. The user can then set up the game by entering the number of players. Any number below two shall ask the user to add more players. Once gameplay has started based on the game rules, there are a few main pieces to address. Rolling the die should be performed by randomly generating the side of the die displayed for each of the six using a random number generator. After each player's roll, calculate the score for the roll based on the user's selection for scoring. Validate that the scoring option applies to the dice and determine if a subsequent role is allowed. Continue playing until a player reaches 10,000 points. Display a message to the game winner Farkle is a dice game that is multi-player with a minimum of two players, but no upper limit on the number of participants. The goal is to reach 10,000 points first. This article states the rules of Farkle as follows Points Points are acquired one of three different ways. A roll of a 1 is worth 100 points. A roll of a 5 is worth 50 points Three (3) dice rolled at the same time with the same value is worth 100 times the face value, for example: three 2's rolled is 200 points and three 5's rolled is 500 points. One exception to this rule is that three 1's rolled is 1,000 points rather than 100 points The Play The first player rolls all six dice at the same time and sets aside any "point dice" (1's, 5's, or three of a kind) that appear. At this point, the player has the option to continue to roll the remaining dice to collect even more points, or stop and keep any points acquired. * A Farkle occurs when the dice are rolled and no point dice appear. At this point the player loses all the point dice he/she/it has collected during that turn, and the play passes to the player to the left. No points are recorded for that player's turn If a player decides not to risk rolling a Farkle then he/she/it can stop rolling and the play passes to the player to the left. Any points collected during that turn are then recorded If, in the course of one turn, all six dice become point dice and are set aside, the player must roll all six dice at least one more time, before stopping and keeping the points collected Entering the Game In order for a player to initially enter the game, (and record points), he/she must continue to roll until at least 1,000 points are collected during one turn. Once the player officially enters the game, the points are recorded and that player may stop rolling at any time during future turns. Sometimes it might take many turns before a player can get started. Secret Strategy: All point dice do not have to be set aside. If you roll a 1 and a 5, sometimes it may be strategic to keep the 1 and roll the 5 again with the rest of the non-point dice. This may give you a better chance of rolling a three of a kind. But, at least one point die must be set aside after each roll. Winning In order to win, a player must get 10,000 points recorded. After a player gets over 10,000, each of the other players get one turn to try to beat the first player who goes out. If none of them beat his or her score, then he or she is declared the winner. If someone beats his or her score then that new player wins the game. IT 312 Pseudocode Guidelines and Rubri Overview: In this assignment, you will create pseudocode that reflects the main elements of the logic for your final project. This section should not be produced using actual code; however, you should include important variables, calculations, relationships, and/or any critical components of the problem. Your goal is to include all of the elements necessary to convert into functioning code Prompt: Address the following in your submission: A. B. C. D. E. Analyze the given problem statement. Break the problem down into distinct steps of pseudocode that will solve the problem Create variables to track the various elements in the pseudocode If applicable, determine any breakdown of pseudocode into functions and/or classes. Use natural language to work through the problems. Refer to the How to Write Pseudocode document for guidance Guidelines for Submission: This assignment should be submitted as a Microsoft Word document with 12-point Times New Roman font and one-inch margins. Rubric Critical Element Exemplary (100%) Proficient (85%) Need improvement (55%) Variables are present, but do not Variables are not assigned clearly represent the relevant values Pseudocode illustrates all of the Does not write pseudocode for Not Evident (096) Value 10 Assignments Meets "Proficient" criteria and utilizes best practices and naming conventions Meets "Proficient" criteria and Pseudocode that clearly sequence of linear logic demonstrates consideration of primary functionality and logic and logic, but pseudocode is not functionality and logic the order in which operations and is self-explanatory are All variables are assigned with logical names and represent relevant values Code Logic 25 illustrates all of the program's program's primary functionalityall of program's primary self-explanatory, has inconsistencies with the program's functionality, or contains significant errors or aps in detail Class / FunctionMeets "Proficient" criteria and Pseudocode identifies sections of Pseudocode contains sections of Pseudocode does not contain Identification demonstrates consideration of code that serve as classes and/or code that serve as classes and/or sections of code that serve as 15 encapsulation and/or polymorphism functions functions, but are not clearly identified or improperly structured classes and/or functions IT 312 Farkle Rules Develop a program that follows the rules of Farkle as described. On program start-up, it shall display the rules to the user as read from a text file submitted with the program. The user can then set up the game by entering the number of players. Any number below two shall ask the user to add more players. Once gameplay has started based on the game rules, there are a few main pieces to address. Rolling the die should be performed by randomly generating the side of the die displayed for each of the six using a random number generator. After each player's roll, calculate the score for the roll based on the user's selection for scoring. Validate that the scoring option applies to the dice and determine if a subsequent role is allowed. Continue playing until a player reaches 10,000 points. Display a message to the game winner Farkle is a dice game that is multi-player with a minimum of two players, but no upper limit on the number of participants. The goal is to reach 10,000 points first. This article states the rules of Farkle as follows Points Points are acquired one of three different ways. A roll of a 1 is worth 100 points. A roll of a 5 is worth 50 points Three (3) dice rolled at the same time with the same value is worth 100 times the face value, for example: three 2's rolled is 200 points and three 5's rolled is 500 points. One exception to this rule is that three 1's rolled is 1,000 points rather than 100 points The Play The first player rolls all six dice at the same time and sets aside any "point dice" (1's, 5's, or three of a kind) that appear. At this point, the player has the option to continue to roll the remaining dice to collect even more points, or stop and keep any points acquired. * A Farkle occurs when the dice are rolled and no point dice appear. At this point the player loses all the point dice he/she/it has collected during that turn, and the play passes to the player to the left. No points are recorded for that player's turn If a player decides not to risk rolling a Farkle then he/she/it can stop rolling and the play passes to the player to the left. Any points collected during that turn are then recorded If, in the course of one turn, all six dice become point dice and are set aside, the player must roll all six dice at least one more time, before stopping and keeping the points collected Entering the Game In order for a player to initially enter the game, (and record points), he/she must continue to roll until at least 1,000 points are collected during one turn. Once the player officially enters the game, the points are recorded and that player may stop rolling at any time during future turns. Sometimes it might take many turns before a player can get started. Secret Strategy: All point dice do not have to be set aside. If you roll a 1 and a 5, sometimes it may be strategic to keep the 1 and roll the 5 again with the rest of the non-point dice. This may give you a better chance of rolling a three of a kind. But, at least one point die must be set aside after each roll. Winning In order to win, a player must get 10,000 points recorded. After a player gets over 10,000, each of the other players get one turn to try to beat the first player who goes out. If none of them beat his or her score, then he or she is declared the winner. If someone beats his or her score then that new player wins the gameStep 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