Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

using c++ code with uml chart and a flow chart of mastermind gameplay that correlates with code c++ and uml chart with code along with

image text in transcribed
using c++
code with uml chart and a flow chart of mastermind gameplay that correlates with code
c++ and uml chart with code along with flowchart
image text in transcribedfinish the sub steps of this flow chart for mastermind
This assignment is the first of a two-part assignment that creates a computer version of the game Mastermind. In this game, there are two players: the codemaker (computer) and the codebreaker (user). The codemaker picks a sequence of four pegs, each one being one of any six colors. The codebreaker then tries to guess the exact positions of the colors in the computer's sequence in as few guesses as possible. After each guess, the codemaker gives feedback of exact and partial matches as described in the rules, below. Mastermind Rules 1. For each of the pegs in the guess that is the correct color and in the correct position, the codemaker will give one black peg. If a guess scores four black pegs, then the codebreaker has guessed the secret code. 2. For each of the pegs in the guess that is a correct color in an incorrect position, the codemaker will give one white peg. Together, there will be no more than four black and white pegs for each move. 3. The color sequence can contain pegs of the following colors: red, yellow, green, blue, white, and black. A color can be used any number of times in the sequence. All four pegs of the secret sequence will contain a color; no blanks/empties are allowed. 1. Each guess must consist of four peg colors-no blanks. 3. The codebreaker has 10 guesses to find the secret sequence. Begin this assignment by identifying a set of objects for a complete game of Mastermind. If you have difficulty with this step, try describing a game of Mastermind and list all of the nouns and verbs in your description. Once you are satisfied with your objects, begin constructing your UML diagrams. Next, create a flowchart that models the game logic. Finally, create a Loom video in which you present your work. Your video should not exceed 3 minutes in length. Remember, this assignment is about designing a software system. Implementation details of any kind are not appropriate for this project. Your task is to define a model for a problem that exists in the real-world. winner give feedback - yes Start create secret Code gel user guess of guess get third color get fourth color get second color got first color Createst start create Taylor a spot in any user for

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

What attracts you about this role?

Answered: 1 week ago

Question

How many states in India?

Answered: 1 week ago

Question

HOW IS MARKETING CHANGING WITH ARTIFITIAL INTELIGENCE

Answered: 1 week ago

Question

Different types of Grading?

Answered: 1 week ago