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

D and l chainsaws singleton - Reflection and refraction lab report answers - Compare and contrast the government and political system of the United States with that of another country of your choice - Health Care Reform - Peaceful end of life theory - En las farmacias pequeñas de ecuador se venden ____. hierbas medicinales remedios caseros - Essay - Pamela meyer quotes - Health and human development unit 4 outcome 1 - How to write a comparative introduction - Dual port ram fpga - Describe the vascular pattern you observed in the celery leaf - Draft allowance in casting - James 3 1 12 sermon - Words rhyming with dan - Concept care map example - Kit kat advertising strategy - Tresemme ooh la la commercial - Single phase motor overload protection - Who am i speech outline - Assessment of 21st-Century Skills. - French bulldog club of nsw - Po box 6431 alexandria nsw - The evening herald plymouth - Chapter 7 kitchen and dining areas answers - Powerlessness nursing interventions and rationales - Multiple input signature register tutorial - Experiment 1 heart valves and pumps - Life perpetuates itself at the cellular level - If poem by rudyard kipling analysis - Difference between maximization and minimization in linear programming - Dhl size 7 box - Contention in an essay - It's time to say hello - Maylands po box postcode - The donaldson company uses a job order costing system - Jj industries will pay a regular dividend - Picot statement and literature search gcu - Coding in (C++) - Density of citric acid in g ml - What is representative fraction - How to find tax and tip - Mq uni exam timetable - MKT-301 D.1 - Iec 61000 3 13 - Pall single use chromatography - Health education west midlands - Thin lens equation problems - Week 5 MM - Information systems infrastructure evolution and trends articles - Describe the relationship between uv index and latitude - Acc 202 milestone 1 workbook - Aisling irish community center - Brain imaging studies support the conclusion that meditation _____ - 3.2 1.9 lab configuring basic ripv2 answers - Article Summary - Old economy traders opened an account to short sell - Fundamental theorem of algebra gauss - Capstone project examples for information technology - Maximum voltage in ac circuit - Everybody must get stoned karaoke - Merse medical practice duns - Describe one or more methods, networks, policy or process to attain Competitive Advantage and Sustainability in Reverse Logistics. - Pore size distribution bjh - Collaborative documentation - Tombstone pizza commercial firing squad - Read the article "Other/Otherness" and summarize sections 3, 4, 5, and 6 - Given that mc005-1.jpg, what is the value of mc005-2.jpg? - Need tomorrow - From gene to protein transcription and translation lab answers - Ransom book chapter summary - Factory act in 1833 - Warranty expense accounting journal entry - Yellow purple orange gold resistor - Retrospect theme powerpoint - Energy released from food after it is eaten - How to apply the moderate effect in powerpoint - It is generally harder to transfer one's ownership interest in a partnership than in a corporation. - How to calculate bcg matrix in excel - The other wes moore study questions - The most exciting event in my life essay - Djd brick & blocklaying - Pearl products limited of shenzhen china manufactures and distributes - Jetblue balanced scorecard - Assignment probation - Carly fiorina leadership style - List factors of production - Abercrombie and fitch wiki - The caux principles for ethical international business - This I Believe Essay - Georgetown washington hospital center - Suzanne lacy symbolizes the beauty of aging women in whisper, the waves, the wind by - Determining the molar mass of a gas lab answers - Signs of selenium deficiency in sheep - Team Assignment: Organizational Performance Management Presentation - Introduction letter to neighbors - Chapter 4 business ethics and social responsibility worksheet - Evaluation tool of children's handwriting pdf - Response the questions - Bitcoins