Refresher on andys basic requirements

Assignment Help C/C++ Programming
Reference no: EM13307538

Battleship Redux

The game Battleship is back and better than ever. Instead of hacking everything together in C, you will instead leverage C++ and all of your newly gained object oriented programming knowledge to construct a much cleaner end product. If you need a refresher on Andy's basic requirements, see this webpage.

Note that we will modify the assignment in the following manner:

Object oriented instead of procedural

Your program must use object oriented design principles. That means that you should use classes when appropriate. For example, use a basic Ship class and inheritance to represent all of the different ship sizes in the game. Also, it might be a good idea to use classes to represent the game board, players, and results.

Multiple game modes

Your game should allow for hotseat (player vs. player), player vs. computer, and computer vs. computer play. To that end, you must attempt to create a somewhat intelligent computer AI.

Output file format

Now that we know all about CSV files, you must convert your logfile to CSV format using the following columns: "<PLAYER>, <SPACE>, <RESULT>".

Header Comment, and Formatting

1. Be sure to modify the file header comment at the top of your script to indicate your name, student ID, completion time, and the names of any individuals that you collaborated with on the assignment.

2. Remember to follow the basic coding style guide. A basic list of rules can be found on OSBLE.

Reference no: EM13307538

Questions Cloud

Determine the neutral axis angle given x and y deflection : determine the neutral axis angle given x and y deflection measurements and load applied (mm)
How fast is speeder going : A police car is moving at 38m/sec to catchup with a speeder directly ahead. The speed limit is 29.1 m/sec. How fast is speeder going
What gauge pressure must the pump provide : Water is being pumped through a horizontal pipe that is 37.8 m long and 14.5 cm in diameter. what gauge pressure must the pump provide to give the same volume flow rate as for the first pipe
Explain what are the right metrics of agility : What are the right metrics of agility. Are there systematic techniques to improve the agility of a system
Refresher on andys basic requirements : The game Battleship is back and better than ever. Instead of hacking everything together in C, you will instead leverage C++ and all of your newly gained object oriented programming knowledge to construct a much cleaner end product.
What change management initiatives should km group have : What change management initiatives should the KM group have initiated at Infosys before attempting to develop and implement knowledge management at the company?
Find the pressure considering both friction and minor losses : Water flows through a 200 m long ,30 cm diameter steel pipe with surface roughness 0.046 mm at a rate of 0.25 m^3/s .Find the pressure(P2)considering both friction and minor losses
Construct an e-r diagram for a car insurance company : Construct an E-R diagram for a car insurance company whose customers own one or more cars each. Each car has associated with it zero to any number of recoreded accidents.
Calculate the peak bending moment for the roof beam : Calculate the peak bending moment for the 4x10 roof beam. Then draw a clear dimensioned FBD for the two exterior bearing walls above the floor joists, no moment calcs here.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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