Draw a flow chart to outline how you want to solve

Assignment Help Programming Languages
Reference no: EM13326251

Assignment:

You will be creating a single-player, text-based memory match game like the games pictured above. The game will consist of printing out the game state, allowing the player to pick cards, comparing the value of the cards picked, and keeping score. Your code will most likely be very long. However, you should be able to reuse components of your code because parts of the game are repetitive. Before you begin writing your code, you are required to draw a flow chart to outline how you want to solve this problem.

Requirements:

- Your code should use if statements to compare card values
- Your code should allow the player to play the game for 3 turns with 6 cards
- Your code should update the cards shown to the player as the player plays the game according to the following criteria.

o When the player picks a card

o If the player guesses correctly, those cards should be revealed for the remainder of the game.

- You may use whatever card values you like.

- Your code should print put whether the player won or lost. Winning requires that the player get at least 2 out of 3 sets correct.

404_Draw a flow chart to outline.png

Reference no: EM13326251

Questions Cloud

Find area of steel reinforcement required for concrete tbeam : Find the area of steel reinforcement required for a concrete T-beam for the following data; f'c = 3 ksi, fy=50 ksi,d=28 in, t= 6 in., bw= 16 in., bf= 60 in., and the section sustains a factored bending moment of Mu=360 kip ft
What is the actual power delivered to the cleaner : A young man owns a canister vacuum cleaner marked "532 W [at] 120 V" and a Volkswagen Beetle, which he wishes to clean. what is the actual power delivered to the cleaner
Select beam dimensions nd reinforcement for balanced section : Select the beam dimensions and reinforcement for a balanced section if the beam sustains a moment as a result of dead load of 60 kip-ft and a moment as a result of live load of 90 kip-ft
What potential difference is required for the capacitor : If the separation between the two plates is double the value calculated in part (a), what potential difference is required for the capacitor to store charge of magnitude 260 pC on each plate
Draw a flow chart to outline how you want to solve : Those cards should be revealed for the remainder of the game - you are required to draw a flow chart to outline how you want to solve this problem.
Determine the angle theta which the 6-lb : uniform rod makes with the vertical during the roll, and (b) the speed of the roller after it moves 4 ft., starting from rest. The roller rolls without slipping, and the rod hangs vertically (theta = 0) when the system is at rest.
Find the charge on both conductors : A cylindrical capacitor has an inner conductor with a radius of 2.1mm and an outer conductor with a radius of 3.1mm. Find the charge (magnitude and sign) on both conductors
Find h max water depth that will alow car to pass : Listed on cramster as ask. There is a car driving through water. Velocity is 12mph. Find h (max water depth) that will alow car to pass. List all assumption and calculations is the problem statement.
What is the potential difference between the plates : The plates of a parallel-plate capacitor are 2.50mm apart, and each carries a charge of magnitude 85.0nC. What is the potential difference between the plates

Reviews

Write a Review

Programming Languages Questions & Answers

  Calculate display the area of a rectangle (length * width)

Use the input.txt file. Have it read in the number of records to work on. Then for each record read in a character. If it is a C then read in a value and calculate and display the area of a circle (pi*r 2 ), a R then read in two values and calculate ..

  Describe issues-web site designers when adding multimedia

Describe some of the issues web site designers must consider when adding multimedia to a web site. Consider issues such as bandwidth, server load, or others you consider to be important. Please provide references.

  Instantiate button group object-add radio buttons to panel

Do the following to add radio buttons to panel: Declare three objects small, medium, and large of type JRadioButton. Instantiate button group object and add buttons to it.

  Javascript for metric conversions

Write a javascript that will assist the user with metric conversions. Your program should allow the user to specify the names of the units as strings.

  Create program which computes person-s bmi

Create a program which computes a person's body mass index? Design a modular program that calculates and display a person's body mass index (BMI).

  Create a multi-view program for the iphone

Compress the entire XCode project folder as a single zip, rar or other file format using an "archive file" or compression utility like PKZIP.

  Smallest number using class-friend function and overloading

C++program which can neither be two integers or two floating point number and output smallest number using class, friend function and overloading.

  Build your own maze

Build your own maze and make it so easy so i can understand it. try to use for while statement. it is an easy task so please do not make it complicated and follow the instructions that im going to post. another thing do not use the maze that in th..

  Write a shell script to read from the keyboard

Write a shell script called poject. 21 to read from the keyboard and display on the monitor first name, last name and age if the age is less than 50. If the age is greater than 50, it will display your are over 5 instead of the age.

  Write function for three components of name

Write down the function, that given three components of name (first name, middle name or initial, and last name), returns single string object consisting of last name,

  Write function template that accepts array

Write a function template arraySum () whihc accepts an array and number of values stored in it and returns sum of those values.

  Program asks for number of shares-whole dollar portion price

Program asks for number of shares held, whole dollar portion of price, and fraction portion. fraction portion is to be input as two integer values, one for numerator and one for the denominator.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd