Overview
This milestone will help prepare you for Project One.
You are applying for a position as a software developer for a company that develops educational games for children. For part of the application process, the company has given you three different possible programming problems, from which you are responsible for selecting one to solve.
The three possible programming problems are as follows:

  1. Cracked Egg Game:There are a dozen eggs in a basket; some are hard boiled and some are raw. The object of this game is for the user to guess the number of hard-boiled eggs prior to playing the game. The computer then simulates cracking all 12 eggs, using a random number 0 or 1 to simulate raw or hard boiled. The number 0 should represent raw eggs and the number 1 should represent hard boiled. The computer must keep track of the number of hard-boiled eggs. At the conclusion of cracking all 12 eggs, the actual number of hard boiled is compared to the user’s guess, and whether the user won or lost is given as output.
  2. Spaceship Race:There are two spaceships racing across the galaxies toward a distant star. The spaceships make progress by getting a “boost,” or a value between 0 and 10. The first spaceship to reach the distant star wins. The distance of the star the spaceships are racing toward is provided as input by the user (a value between 25 and 100). The boost value is determined from the computer generating a random number between 0 and 10. The object is to have the spaceships race, and then as soon as one spaceship reaches the destination, which spaceship won or if there was a tie is provided as output.
  3. Rock-Paper-Scissors:This is a game of chance normally played between two people. Similar to flipping a coin or drawing straws, it can be used as a method for determining a random winner. The rules of the game require that each player forms one of three shapes with their hand at the same time. The shapes are as follows:
    • Rock, which is represented by a closed fist, will beat scissors because rock can crush scissors.
    • Paper, which is represented by a flat hand, will beat rock because paper can cover rocks.
    • Scissors, which are represented by the index and middle fingers forming a V, will beat paper because scissors can cut through paper.

In the computer version of this game, the user will play against the computer. The human user will choose rock, paper, or scissors, and the computer will also randomly choose rock, paper, or scissors. Use the integer values 1 to represent rock, 2 to represent paper, and 3 to represent scissors. The human user will input either 1, 2, or 3. The computer will then choose a random number between 1 and 3. Based on the rules of the game, the computer will give output to show whether the user or the computer wins the game, or if it is a tie. The user will play 10 games and, at the conclusion of those 10 games, the computer will output the number of times the user won, the number of times the computer won, as well as the number of tied games.
Prior to developing the Coral program for the programming problem you choose, the company would first like to see your flowchart design. This will be used to later guide your work on the pseudocode and code, but for now you will not be creating either. Your focus should be only on walking through the logic of one of these programs, using a flowchart.
Prompt
You will be designing a flowchart that follows the solution’s logic and works through a sequence of steps for the challenge you have selected. There will be no programming work in this assignment. As the three programming challenges are quite different, the flowcharts will be different as well. But for each flowchart, you should have approximately between 15 and 20 steps.
Be sure to carefully read through the description of your selected game prior to developing your flowchart. Once you are ready to begin, navigate to Lucidchart (https://www.lucidchart.com/pages/
and sign in to the account you previously created. All your work on the flowchart for this milestone should be completed in Lucidchart.
Specifically, you must address the following rubric criteria:

  • Determine the appropriate inputs and outputs for the situation. Determine what the game you have selected will require the user to enter as an input. Think about where the user needs to make a choice and where the computer will choose by random selection.
  • Design branches to establish the logic of the solution. The direction should be readable and each path should have an outcome that makes sense with the logic of the solution.
  • Design appropriate loops to establish the logic of the solution. The Cracked Egg and Rock-Paper-Scissors games will use a FOR loop since both games will run a specified number of times (12 and 10 respectively.) The Spaceship Race game will use a WHILE loop since the body of the loop will run as long as neither spaceship reaches 100.
  • Apply correct symbols to convey the logic in the flowchart. Focus on the following symbols as you work:
    • Oval: Indicates the beginning step or the ending step of the flowchart
    • Rectangle: Indicates an action or an operation in the flowchart process
    • Diamond: Indicates a decision point (conditional)
    • Parallelogram: Indicates input and output operations
    • Arrows: Indicate directional flow of the logic

Guidelines for Submission
Complete your flowchart in Lucidchart, and then submit the downloaded version of the flowchart. For assistance working in Lucidchart, please reference the Lucidchart Tutorial that is linked in this week’s Resources section.

Pro4_Tk
We have updated our contact contact information. Text Us Or WhatsApp Us+1-(309) 295-6991