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

Battleship codecademy answers

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

I’m working on a Programming question and need guidance to help me study.

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:

Solutions Store
Financial Assignments
High Quality Assignments
24/7 Assignment Help
George M.
Top Academic Tutor
Writer Writer Name Offer Chat
Solutions Store

ONLINE

Solutions Store

Give me a chance, i will do this with my best efforts

$16 Chat With Writer
Financial Assignments

ONLINE

Financial Assignments

You can award me any time as I am ready to start your project curiously. Waiting for your positive response. Thank you!

$33 Chat With Writer
High Quality Assignments

ONLINE

High Quality Assignments

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

$44 Chat With Writer
24/7 Assignment Help

ONLINE

24/7 Assignment Help

You can award me any time as I am ready to start your project curiously. Waiting for your positive response. Thank you!

$49 Chat With Writer
George M.

ONLINE

George M.

Give me a chance, i will do this with my best efforts

$37 Chat With Writer
Top Academic Tutor

ONLINE

Top Academic Tutor

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

$29 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

1.1 1.4 lab installing the cyberops workstation virtual machine - 223 normanby road south melbourne - The talos principle wiki - Cloud Computing Week 4 Assignment - Cloudy with a chance of meatballs food storm - The espresso lane to global markets case study solution - Ge healthcare in india an ultrasound strategy case - Nektan Casino - HELP - Gartnavel hospital endoscopy unit - Ethical issues relating to computer application - Information Technology Discussion - Marking Criteria: A marking rubric will be made available in the Moodle site in Week 1. Length: 2000 words (± 10% excluding bibliography) - Observations of chemical changes lab - Tutorial questions 3-Marketing - Joan shays appli bond needles - Food hygiene level 2 answers - 250 words homework (within 24 hours): Support Department and Joint Cost Allocation - Bosch hot water 10p - Baby van gogh bugs - Prince charles hospital physiotherapy - Discussion and paper - Breastfeeding persuasive speech - What is techno structural interventions - Identify the main types and causes of depression in adolescence - What do they call the international hula hoop championships answers - Define several forms of metadata that can be useful to an investigation. How are valuable to an investigator? - Social distancing negatively impacts - Due Tonight Help - I feel strongly about essay - Amnesty international press release - A horizontal aluminum rod 4.8 cm in diameter - Genie z45 25 joystick calibration - New longton all saints - Nursing Graduate - Computer networking from lans to wans pdf - Project - 273 77th street avalon nj - Campbell's iq meals case study - How to measure customer profitability - Sql stands for in computer - Overview chemical bonds worksheet - Walmart recruiting store sales forecasting - Assignment 2 social control and criminal deviance bullying - Swot analysis's value and continued use is found in its - A fall in labor costs will cause aggregate - Www2 aaahq org asclogin cfm - How much overhead cost would be assigned to product v09x using the activity-based costing system? - Citi 3 bus cambridge - Describe in detail all the facets of jetblue's product - Bg 66 ultimax tension - Essay - Earthing system design ppt - Shareholder analysis - How to write the great american indian novel - Susan beal hypothesized that _____ played a role in sids deaths. - Rich boys don t have hearts r scarlett epub - Literary elements in julius caesar - Formal concept analysis ppt - Mcgraw hill marketing simulation answers - Symbolism in ender's game - Team managment dis 5 - Cougar cordless drill batteries - Boy overboard classroom activities - Combining like terms and distributive property worksheet - Carl rogers personality test - Human resource questions - Breaking down a topic brainstorming - University of salford staff - Heat of combustion worksheet answers - Hungry jacks hunger tamer - North lakes state collage - Fortune 50 companies in charlotte nc - 111 webb avenue ballarat east - Research Paper - Contingency Planning - Behold the dreamers discussion questions - Case study - How to write formulas for binary ionic compounds - MyITLap Assignment - Shear over comb technique - Dunkin donuts supervisor job description - 9th grade biology study guide - The college payoff education occupations lifetime earnings - Perth zoo annual report - Old mutual wealth charge basis 3 - Tornado in a bottle experiment explanation - Carlin and soskice solutions - In the marketing management functions a swot analysis should - Fawaz fadi lsus - I need 1500 words report in “Redison blue restaurant al khuwair Muscat Oman” - What is an ado - 2.12 multiplied by 10 to the sixth power - Balance day adjustments examples - Write 2 responds about the sample answer. Each of them at least 150words - Consequences of plagiarism university of phoenix - Manuela del campo es una cirujana. cierto falso - Coordinated management of meaning - The processing required for a single instruction is called - Conventions of theatre of the absurd - I need a 1000 words on article of Windows server going end of life,