STUDYSHIELDS ASSIGNMENT HELP

  • Home
  • Blog
  • Courses
    • Child Category 1
    • Child Category 2
    • Child Category 3
    • Child Category 4
  • Services
  • Country
    • Childcare
    • Doctors
  • Home
  • Blog
  • Sample Works
  • Order Now

Tuesday, November 23, 2021

The purpose of this assignment is to modify the existing code from Assignment

 November 23, 2021     No comments   

 Purpose


The purpose of this assignment is to modify the existing code from Assignment 5 into a more maintainable and readable program by implementing various functions. You will be required to utilize void and value returning functions as well as value and reference parameters.


Programming Instructions:


1. Start with the provided solution to Assignment 5. This is NOT an option, you must use the solution code provided as your starting point.


2. Break up the main function code into the following separate functions:


a. DisplayIntro: Displays the title screen


b. PlayGame: This function holds most of the game logic that is held in the main function of the start point program


c. InitializeGameData: Initializes the game variables to the starting state. This is where you will set the card variables to the appropriate values for the game.


d. InitializeGameDisplay: Initializes the game board display variables to the starting state


e. DisplayInstructions: Displays the instructions for the game


f. DisplayBoard: Displays the concentration game board


g. GetValidBoardPosition : Prompts the player for a board position, validates it is a legal choice (1 – 6). The function should also not accept a position that has been used all ready. Hint: Check if it is not set to “*”, that will tell you if it has been used.


h. MatchMessage: Displays the match message to the player


i. NoMatchMessage: Displays the no match message to the player


j. DisplayCredits: Displays the game credit screen


3. You must add the additional functionality to the existing solution.


a. GameMenu: Displays 2 options, 1 to play the game and 9 to quit. Since the game now has a menu the player can now choose to play another game through the menu.


b. Provide at least 3 different game boards that the game can randomly select from at the start of each game.


4. The main function code for this lab is provided for you and is posted on Blackboard. The main function in your assignment must be very similar. As I do not wish to crimp your creative freedom you may change the name of the functions, if so desired, but their functionality must remain the same.


Resources:


1. Sample program posted on Blackboard


2. Main function text file posted on Blackboard

  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Email ThisBlogThis!Share to XShare to Facebook
Newer Post Older Post Home

0 comments:

Post a Comment

Click Here to Place order

Popular Posts

  • A “criminal minds” Aileen Wournos individual will be your “patient”
     A “criminal minds” Aileen Wournos individual will be your “patient”  A brief history of the patient including diagnoses (documented or your...
  • CEO Jane Lionel has some hard decisions to make with regard to some of the company’
     CEO Jane Lionel has some hard decisions to make with regard to some of the company’solder hands, and even on the eve of that decision, I be...
  • Problem in Supply Chain
    Problem in Supply Chain Problem 2. (Chapter 11: The Storage and Handling System) Compare the constrast private ownership of storage space to...

Recent Posts

Unordered List

Pages

  • Home

Text Widget

Blog Archive

  • November 2022 (20)
  • October 2022 (50)
  • September 2022 (119)
  • August 2022 (107)
  • February 2022 (501)
  • January 2022 (443)
  • December 2021 (488)
  • November 2021 (1574)
  • October 2021 (28)
  • September 2021 (11)
  • July 2021 (8)
  • June 2021 (15)
  • May 2021 (39)
  • April 2021 (15)
  • March 2021 (303)
  • February 2021 (712)
  • January 2021 (903)
  • December 2020 (2)
  • September 2020 (33)
  • April 2016 (5183)
  • March 2016 (3763)
  • February 2016 (4356)
  • January 2016 (1749)
  • December 2015 (22)
  • November 2015 (147)
  • October 2015 (23)

Sample Text

Copyright © STUDYSHIELDS ASSIGNMENT HELP | Powered by Blogger
Design by Hardeep Asrani | Blogger Theme by NewBloggerThemes.com | Distributed By Gooyaabi Templates