Đang Thực Hiện

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

Kỹ năng: Lập trình C

Xem thêm: battleships, simple battleship, battleship simple, simple battleships, battleship game, project battleship, programming used, visual basic game programming, top programming, programming symbols, programming comments, programming board game, programming board, pair programming, gets programming, game programming easy, functions programming, programming functions, programming array, basic game programming

Về Bên Thuê:
( 0 nhận xét ) london, United Kingdom

Mã Dự Án: #1036181

Đã trao cho:

noman7119

i can certainly do your project i have done similar jobs

$30 USD trong 2 ngày
(0 Đánh Giá)
0.0

5 freelancer đang chào giá trung bình $72 cho công việc này

VileGnosis

Details in PMB

$50 USD trong 1 ngày
(80 Đánh Giá)
6.1
it2051229

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

$30 USD trong 2 ngày
(30 Đánh Giá)
4.3
thanhhungqb

Please see pmb, thanks.

$50 USD trong 1 ngày
(6 Đánh Giá)
3.1
ritwiksahoo

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

$200 USD trong 5 ngày
(0 Đánh Giá)
0.0