En curso

Battleship C++

Description

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.

It needs to be done using simple c++. nothing extreme. We've only covered loops, functions, structures, and arrays in our class.

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 data structures etc. etc.

Habilidades: Programación en C++

Ver más: battleship game, player battleship, battleship class, class battleship, battleship class structures, field battleship, battleship game class, battleship placing ships, ascii battleship, ship game, simple game battleship using, ship shooting, battleship turns, what is extreme programming, what is data structures in c, what is data structures, what is a data structures, what is a class in programming, what are data structures in c, what are data structures, top down programming, programming what is a class, programming symbols, programming structures, programming loops

Información del empleador:
( 1 comentario ) Hialeah, United States

ID de proyecto: #670301

Adjudicado a:

ThomasHarwey

Hello, please read PMB for more details

$50 USD en 2 días
(1 comentario)
1.4

7 los freelancers están ofertando un promedio de $178 para este trabajo.

pawel100

Hello, I'm interested in your project, Please check PMB for more details.

$45 USD en 2 días
(14 comentarios)
4.0
Tamper

I have plenty of experience in game making in C++/C#, and making this game should not be a problem. View PM for more details.

$30 USD en 1 día
(2 comentarios)
2.4
sigutis

Hello, here I bid on your project again. ->Could you do this in the most simple C++ you know, and in English. Yes of course, it would also be heavily commented for you to understand it easier. ->if possible could Más

$30 USD en 1 día
(1 comentario)
2.0
frankgrandson

Hi, Im videogames Engineer expert in OpenGL. I can help you in this proyect. Best regards.

$1000 USD en 30 días
(0 comentarios)
0.0
Listing

I can make you have the best Battleship game in your class :-). C++ code with english comments, a nice ASCII interface, etc.

$40 USD en 5 días
(0 comentarios)
0.0
corelogic1

i understand the details of [url removed, login to view] me know when to start work on it

$50 USD en 5 días
(1 comentario)
0.0