Loading...

Messages

Proposals

Stuck in your homework and missing deadline? Get urgent help in $10/Page with 24 hours deadline

Get Urgent Writing Help In Your Essays, Assignments, Homeworks, Dissertation, Thesis Or Coursework & Achieve A+ Grades.

Privacy Guaranteed - 100% Plagiarism Free Writing - Free Turnitin Report - Professional And Experienced Writers - 24/7 Online Support

C programming board game

15/04/2021 Client: muhammad11 Deadline: 2 Day

For this homework assignment, you will edit your Homework 6 to add functionality to play a simplified version of the classic game of Battleship on the screen/console. (I WILL ATTACH MY HOMEWORK 6 PROGRAM: homework6 program.docx )

You shall organize your program into three files:

• prgm.h will hold #includes, #defines, templates of any structure types, and a list of function prototypes.

• main.c will hold the local #include file as well as the main()function for the program.

• func.c will hold the local #include file as well all other functions (except main(), of course) used in the program.

2. Define a structure that contains the following four members: (1) a character member that holds the row used for the torpedo’s position on the board – note that this character may be a single character in the range ‘A’ – ‘J’; (2) an integer member that holds the column used for the torpedo’s position on the board –note that this integer has a range 1 – 10; (3) an integer member that keeps track of the number of hits on the aircraft carrier – note that an aircraft carrier is sunk

after 5 hits; and (4) an integer member that keeps track of the number of hits on

the battleship – note that a battleship is sunk after 4 hits.

3. Update the function to display the game board by adding another parameter used to indicate whether or not to “reveal” the solution with ship positions visible or to display the current, active board. In displaying the board, you will display an ‘X’ for each position where a torpedo shot hit either ship and ‘O’ for each position where a torpedo shot missed a ship. If the “reveal” is not set, you will display a blank space for any position that is open (i.e., no ship is assigned, nor has a torpedo shot been fired) or contains a ship. If the “reveal” is set, you will still display a blank space for any position that is open, but will you display a ‘B’ for each position containing a battleship that has not been hit and an ‘A’ for each position containing an aircraft carrier that has not been hit. You will call this function to display the updated board after every torpedo shot fired by the user. During the game, “reveal” will not be set. However, after the game is won or lost, you will call this function with “reveal” set to display the board.

Homework is Completed By:

Writer Writer Name Amount Client Comments & Rating
Instant Homework Helper

ONLINE

Instant Homework Helper

$36

She helped me in last minute in a very reasonable price. She is a lifesaver, I got A+ grade in my homework, I will surely hire her again for my next assignments, Thumbs Up!

Order & Get This Solution Within 3 Hours in $25/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 3 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 6 Hours in $20/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 6 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 12 Hours in $15/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 12 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

6 writers have sent their proposals to do this homework:

Assignment Guru
Financial Hub
Calculation Guru
Premium Solutions
Innovative Writer
Top Essay Tutor
Writer Writer Name Offer Chat
Assignment Guru

ONLINE

Assignment Guru

I have read and understood all your initial requirements, and I am very professional in this task.

$17 Chat With Writer
Financial Hub

ONLINE

Financial Hub

Hello, I an ranked top 10 freelancers in academic and contents writing. I can write and updated your personal statement with great quality and free of plagiarism

$39 Chat With Writer
Calculation Guru

ONLINE

Calculation Guru

Hello, I an ranked top 10 freelancers in academic and contents writing. I can write and updated your personal statement with great quality and free of plagiarism

$49 Chat With Writer
Premium Solutions

ONLINE

Premium Solutions

I will cover all the points which you have mentioned in your project details.

$43 Chat With Writer
Innovative Writer

ONLINE

Innovative Writer

I have read and understood all your initial requirements, and I am very professional in this task.

$22 Chat With Writer
Top Essay Tutor

ONLINE

Top Essay Tutor

I have read your project details. I can do this within your deadline.

$31 Chat With Writer

Let our expert academic writers to help you in achieving a+ grades in your homework, assignment, quiz or exam.

Similar Homework Questions

How to win cesim simulation game - Stoichiometry lab vinegar and baking soda answer key - Casual tafe teacher jobs - Nessus plugin code invalid expired activation code - There is growing concern about poverty and income inequality. These two concepts, however, are not the same. Income inequality - Identifying your followership style questionnaire - The musketeers season 3 episode guide - A boat beneath a sunny sky - Front office department chart - Shark tank season 2 episode 14 - Intro to human communication - St regis catholic church - Annam brahma raso vishnu - Moab inc manufactures and distributes high tech biking gadgets - Gun barrel proof marks - Linney print mansfield jobs - Rationale for impaired physical mobility - Pbv trunnion ball valves - How to find ph of buffer solution with ka - Legal requirements for schedule 8 drugs - How many chromosomes do blue whales have - Exercise 10 appendicular skeleton reviewing your knowledge - Did you hear about math problem - A typical small flashlight contains two batteries - What are mutts in hunger games - 13 businesses with brilliant global marketing strategies - Racv emergency home assist contact number - Micro mezzo and macro levels - Frank and lillian gilbreth contribution to management pdf - Literacy pre assessment quiz gcu answers - Taxonomy answer key - Absence from class email - Chapter 5, Collaboration Social Media, Business Models which are impacted by collaborative technologies - Paper - What determines whether or not a resource is scarce - Object relations therapy treatment plan - 8.2 relative frequency homework answers - Circle on cavill permanent rentals - Grant and lee a study in contrasts thesis - Humanistic personality analysis - Change management audit controls - The all new don't think of an elephant - Sand falling on a conveyor belt - An age old cosmic mystery reading plus - Uniform circular motion lab report conclusion - Pi in various ancient civilizations - New heritage doll company npv - Square wave fourier series example - Chamberlain college of nursing nj address - The humane society nz - How to get to the alfred hospital by public transport - How to understand greater than and less than - Quote of lady macbeth questioning macbeth's manhood - 3 day lesson plan - As you like it poem - Roye kennel uses tenant days as its measure of activity - Face time vs screen time the technological impact on communication - Biointeractive population dynamics worksheet answers - Professional internship - Symbols in the great gatsby chapter 8 - Crc-2 - Reading discussion - How to write an executive summary for a hospital - Senior year memory book - Jainism sees reality as made up of - Introductory Definitions, Summarizing Categorical Data, and Normal Distributions - A separate peace chapter summaries - Welbourn hall nursing home - Use autofill to copy the formula and formatting - Data Analytics Lab Work - In Full APA format - What is the distance between uranus and the sun - Creating an agenda soc 110 - Means a lot to me - People Face Trade-Offs - Open topped glass flask crossword clue - Discussion - 6-4 project part one - Taxation (120 words) - What are 4 similarities between mitosis and meiosis - What is the length width and height of a box - Lessons for undercover bosses case study - Guinea bissau country code - Name two of the scoring methods you are measured on in the simulation. - Week 5 part 1 plagiarism free - Sabmiller plc share price - What does scroll lock do - Budget Approaches - Get The Iconic Fool Me Once Coat - The rosenhan study suggests that - Pangea jigsaw puzzle worksheet - Research paper - Mini Case Analysis 1000 words - International social work day - What is the function of tps - The ugly american analysis - Voices of decolonization shepard pdf - Econ essay 1200-1300 words - Pad foundation advantages and disadvantages - Parasomnia (sexsomniac) - Can technology save sears case study answers