C++ create a console based version of the game Battleship

Suoritettu Julkaistu Nov 26, 2008 Maksettu toimituksen yhteydessä
Suoritettu Maksettu toimituksen yhteydessä

Project is due December 3rd.

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 Carrier (5 spaces), 1 Battleship (4 spaces), 1 Frigate (3 spaces), 1 Submarine ( 3 spaces) and 1 Minesweeper (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

Use appropriate symbols to layout the grids (check out the ASCII symbols), and use the notation CHAR-NUMBER (e.g A-2) to indicate where a shot is to be placed.

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

* 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 an X in that spot

* If a player's shot misses and opposing player's ships, then a "-" 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:

Appropriate data structures (arrays) should be used to hold the information

Appropriate functions should be created to initialize the structures, display messages to the players, display the boards, determine if there is a hit or miss, update the datastructures etc. etc.

This project is for an intro to C++ class, so it doesn't have high quality or too complicated. I can't have it look too "professional."

C-ohjelmointi

Projektin tunnus: #349052

Tietoa projektista

12 ehdotusta Etäprojekti Aktiivinen Nov 29, 2008

Myönnetty käyttäjälle:

Raramir

I can do the game for you. I've already done such a game, so it wouldn't be any problem for me. The code will be well commented and not sophisticated.

$30 USD 1 päivässä
(2 Arvostelua)
1.9

12 freelanceria on tarjonnut keskimäärin $94 tähän työhön

sigutis

Hello, please let me do this little game project as my first job. I can ensure you it will not be a problem.

$30 USD 5 päivässä
(6 arvostelua)
1.6
masyok

I can do this job for you

$200 USD 14 päivässä
(0 arvostelua)
0.0
AkingForever

Hello sir, i can do this console game. I have read through the discription carefully, the caculate and score show is not difficult, i am not sure if the refreshment of the console battle field is fluent.

$250 USD 6 päivässä
(1 arvostelu)
0.0
perec85

Hi! I have 4 years C/C++ experience in development. The game implementation was easy for me. One addition: perhaps you forgot about free spaces between ships. This condition are correct for traditional battleship game. Lisää

$90 USD 3 päivässä
(0 arvostelua)
0.0
sib2218

Ready to develop this game for you. I vouch for thoroughly commented code.

$80 USD 4 päivässä
(0 arvostelua)
0.0
ShaLaLa83

Hello, I can do it for you very quickly. Thanks.

$30 USD 1 päivässä
(1 arvostelu)
0.0
simpleJJ

I will make what u want!!!

$200 USD 7 päivässä
(0 arvostelua)
0.0
salmanoglu

I have experince programming this game on C++

$38 USD 1 päivässä
(0 arvostelua)
0.0
PCSV

Ready to work anytime.

$100 USD 5 päivässä
(0 arvostelua)
0.0
kevinawad

I can do this for you in no much time. Just accept my bid.

$30 USD 1 päivässä
(0 arvostelua)
0.0