En cours

simple Battleships in C++

The hand in for this project is 3pm GMT on Friday 27th August 2011

This is a C++ project to create a version of battleships to run within the console in windows. this is only a first year project so it doesn't have to be overly complicated.

Ideally this project should be created within Visual Studio, or at least be easy to import from another program to VS with no loss of data.

use of array's and simple functions should be sufficient, as well as classes where necessary (eg a general "ship" class, with more detailed classes for specific ships etc)

Here are the basic requirements:

* You need to create a 10 x 10 playing field for each player to place their pieces and an additional 10 x 10 playing field to capture their shots at the opposing player

* Each player gets 1 Aircraft Carrier (5 spaces), 1 Battleship (4 spaces), 1 Destroyer (3 spaces), 1 Scout ( 3 spaces) and 1 Jetski (2 spaces)

* Each ship is to be placed on the board horizontally or vertically

Board - The board is 10 x 10 organized with A-J identifiers across the top, and 0 - 9 identifiers down the side

A B C D E F G H I J

0

1

2

3

4

5

6

7

8

9

the grid layout should be as above, with appropriate ASCII symbols ( horizontal "-" and verticla "|" should be used to create the grid)

Players

* There are two players in this game

* Each player gets their turn placing their pieces down on the board

* After each player has placed their pieces they take turns "shooting" at the others board. this is done by the player typing in a pair of co-ordinates, eg. B3, into the console.

* If a player's shot hits an opposing player's ship (a spot on the board where a ship is located) then his marking board displays "HIT" in that spot

* If a player's shot misses and opposing player's ships, then a "X" is placed in that spot on his marking board

* If a players ship is hit, his board should show what ship was hit and where

The board should be cleared between players so that each player only sees his ships status and his shots status.

Grading:

* Plenty of useful, easy to understand comments

Compétences : Programmation C

Voir plus : battleships, simple battleship, battleship simple, battleship console class, simple battleships, battleship game, battleships classes, project battleship, windows c programming, what is pair programming, what is in c programming, what is c programming used for, what is an array in programming, what is a class in programming, what are classes in programming, visual programming c++, visual basic game programming, top down programming, t$c, programming what is a class, programming symbols, programming in basic, programming comments, programming classes, programming board game

Concernant l'employeur :
( 0 commentaires ) london, United Kingdom

N° du projet : #1036181

Décerné à :

noman7119

i can certainly do your project i have done similar jobs

30 $ USD en 2 jours
(0 Commentaires)
0.0

5 freelance font une offre moyenne de $72 pour ce travail

VileGnosis

Details in PMB

50 $ USD en 1 jour
(80 Commentaires)
6.1
it2051229

Hi, kindly check your inbox for my inquiries. Thanks.

30 $ USD en 2 jours
(30 Commentaires)
4.3
thanhhungqb

Please see pmb, thanks.

50 $ USD en 1 jour
(6 Commentaires)
3.1
ritwiksahoo

I had done a similar dungeons and dragons game but in C programming.

200 $ USD en 5 jours
(0 Commentaires)
0.0