Battleship

Dibatalkan Dipasang Nov 19, 2008 Dibayar saat pengiriman
Dibatalkan Dibayar saat pengiriman

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.

VERY IMPORTANT:

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.

Be creative, see if you can use color to add to your console program, can you create a computer to play against? Can you make it smart?

Pemrograman C

ID Proyek: #346208

Tentang proyek

16 proposal Proyek online Aktif Dec 16, 2008

16 freelancer rata-rata menawar $85 untuk pekerjaan ini

fstudio

Dear sir, I am very interested in your project, Please see PMB for more details. Thanks. Best Regards.

$75 USD dalam 2 hari
(55 Ulasan)
5.6
Wadjet

Hello, Please check PMB

$100 USD dalam 5 hari
(19 Ulasan)
4.4
astoimenov

See PMB, please.

$80 USD dalam 2 hari
(4 Ulasan)
3.3
DarkSomething

I have extensive experience in C/C++ so this program is not a problem. And also... this sounds like fun

$100 USD dalam 3 hari
(2 Ulasan)
2.9
johnsinit

Dear Braza! I am an experienced programmer and would be happy to work for you. Please, check PMB.

$88 USD dalam 5 hari
(2 Ulasan)
2.4
rwmiller

I am an expert in C++ and can do it today. I will provide well documented code.

$30 USD dalam 1 hari
(1 Ulasan)
1.3
tpb261

am ready to do - in fact design ready - already implementing

$30 USD dalam 2 hari
(1 Ulasan)
1.0
castik

Check your PMB

$250 USD dalam 25 hari
(0 Ulasan)
0.0
bishopdog

Check your pm please

$50 USD dalam 3 hari
(0 Ulasan)
0.0
Gorthaur

Hello. I'm experienced CC++ programmer from Ukraine, this job will be not difficult to me.

$50 USD dalam 3 hari
(0 Ulasan)
0.0
Giantsoft

Pls see the PM.

$30 USD dalam 2 hari
(0 Ulasan)
0.0
tdalbino

I built this exact game in VB a few years back and have been meaning to convert it to C++. I know exactly what you're talking about and can get started right away.

$80 USD dalam 7 hari
(0 Ulasan)
0.0
aoiteam

Hi, Please check pmb for more details Thank you

$250 USD dalam 7 hari
(0 Ulasan)
0.0
nasirmaan

would love to work on this project.

$70 USD dalam 8 hari
(0 Ulasan)
0.0
kasler

Hi, i created this project once, also i can offer a great AI for the computer

$40 USD dalam 3 hari
(0 Ulasan)
0.0
kevinawad

Accept my bid, i can do it in no much time. Just accept it, you'll be happy.

$30 USD dalam 1 hari
(0 Ulasan)
0.0