login
Forgot?
Login with Facebook

Don't have an account? Register one now!

Battleship

Bids 
16
Avg Bid
$85 USD
CLOSED
  • Project ID:

    346208
  • Project Type:

    Fixed
  • Budget:

    $30-$250 USD

Project 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.

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?



Skills required:

C Programming

Project posted by:

Braza2014 United States
(1 Reviews)

Last seen:

Public Clarification Board

2 messages

  • spaceb

    I would like to know more about your Battleship project.

    Is this a school project? If so, how closely do the guidelines you mentioned have to be followed? Specifically:

    1) Does the program HAVE to be a console app (as you described), or can it be a regular Windows application (with menus, dialogs, etc.)? I can create either type for you (command-line or GUI-based).

    2) Are both players going to be using the same computer (this would make it hard to avoid cheating), or will they be on separate computers connected over a network?

    Sincerely,
    Brent Dougherty

    PS - Oddly enough, I once wrote a DOS Battleship program in Pascal for a high school programming contest. This time, I'll make the AI smarter.

    over 3 years ago

  • smalcom

    OS: Linux/Windows
    Interface: Qt/Gtk/Console/Other
    ?

    over 3 years ago


If you are the project creator or one of the bidders, please Log In for more options.


All Bids ()

fstudio China
fstudio
China From China     Offline
  Foundation EUFreelance.com Member
$75 in 2 days 
0
over 3 years ago
5.0

5.6

55 Reviews
83% Completion Rate
Dear sir, I am very interested in your project, Please see PMB for more details. Thanks. Best Regards.
Wadjet Egypt
Wadjet_1.png
Wadjet
Egypt From Egypt     Offline
  General Freelancer Orientation (100%, 100th percentile)
  Foundation EUFreelance.com Member
$100 in 5 days 
0
over 3 years ago
4.8

4.4

17 Reviews
57% Completion Rate
Hello, Please check PMB
astoimenov Bulgaria
astoimenov
Bulgaria From Bulgaria     Offline
$80 in 2 days 
0
over 3 years ago
5.0

3.0

4 Reviews
60% Completion Rate
See PMB, please.
DarkSomething Romania
DarkSomething
Romania From Romania     Offline
$100 in 3 days 
0
over 3 years ago
5.0

2.9

2 Reviews
100% Completion Rate
I have extensive experience in C/C++ so this program is not a problem. And also... this sounds like fun
johnsinit Israel
avatar633773609689531250.jpg
johnsinit
Israel From Israel     Offline
  US English Level 1 (90%, 46th percentile)
  General Freelancer Orientation (85%, 95th percentile)
  Foundation LimeExchange Member
  Foundation EUFreelance.com Member
$88 in 5 days 
0
over 3 years ago
5.0

2.4

2 Reviews
61% Completion Rate
Dear Braza! I am an experienced programmer and would be happy to work for you. Please, check PMB.
rwmiller United States
rwmiller
United States From United States     Offline
$30 in 1 day 
0
over 3 years ago
5.0

1.3

1 Review
100% Completion Rate
I am an expert in C++ and can do it today. I will provide well documented code.
tpb261 India
tpb261
India From India     Offline
$30 in 2 days 
0
over 3 years ago
5.0

1.0

1 Review
100% Completion Rate
am ready to do - in fact design ready - already implementing
kevinawad Canada
kevinawad
Canada From Canada     Offline
  General Freelancer Orientation (75%, 81st percentile)
$30 in 1 day 
0
over 3 years ago
Accept my bid, i can do it in no much time. Just accept it, you'll be happy.
kasler Israel
kasler
Israel From Israel     Offline
$40 in 3 days 
0
over 3 years ago
Hi, i created this project once, also i can offer a great AI for the computer
nasirmaan Germany
1ebc00c.jpg
nasirmaan
Germany From Germany     Offline
  Foundation EUFreelance.com Member
$70 in 8 days 
0
over 3 years ago
would love to work on this project.
aoiteam India
aoiteam.gif
aoiteam
India From India     Offline
$250 in 7 days 
0
over 3 years ago
0.0

0.0

0 Reviews
20% Completion Rate
Hi, Please check pmb for more details Thank you
tdalbino United States
tdalbino
United States From United States     Offline
$80 in 7 days 
0
over 3 years ago
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.
Giantsoft India
Giantsoft
India From India     Offline
$30 in 2 days 
0
over 3 years ago
0.0

0.0

0 Reviews
0% Completion Rate
Pls see the PM.
Gorthaur Ukraine
Gorthaur
Ukraine From Ukraine     Offline
$50 in 3 days 
0
over 3 years ago
Hello. I'm experienced CC++ programmer from Ukraine, this job will be not difficult to me.
bishopdog United States
bishopdog
United States From United States     Offline
$50 in 3 days 
0
over 3 years ago
Check your pm please
castik Canada
ist1_9682183-real-man.jpg
castik
Canada From Canada     Offline
$250 in 25 days 
0
over 3 years ago
0.0

0.0

0 Reviews
0% Completion Rate
Check your PMB