Find Jobs
Hire Freelancers

C++ Battleship

$30-250 USD

Σε Εξέλιξη
Αναρτήθηκε πάνω από 15 χρόνια πριν

$30-250 USD

Πληρωμή κατά την παράδοση
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.
Ταυτότητα εργασίας: 356654

Σχετικά με την εργασία

1 proposal
Απομακρυσμένη Εργασία
Ενεργός/ή 15 χρόνια πριν

Ψάχνεις τρόπο για να κερδίσεις μερικά χρήματα;

Πλεονεκτήματα πλειοδοσίας στο Freelancer

Καθόρισε τον προϋπολογισμό σου και το χρονοδιάγραμμα
Πληρώσου για τη δουλειά σου
Περίγραψε την πρόταση σου
Η εγγραφή και η πλειοδοσία σε εργασίες είναι δωρεάν
Βραβεύτηκε στον/στην:
Avatar Χρήστη
Thank you for your invitation. I have done very similar project.
$30 USD σε 0 ημέρα
5,0 (2 αξιολογήσεις)
1,9
1,9

Σχετικά με τον πελάτη

Σημαία της UNITED STATES
Miami, United States
5,0
1
Μέλος από Νοε 20, 2008

Επαλήθευση Πελάτη

Άλλες δουλειές από αυτόν τον πελάτη

Battleship
$30-250 USD
Ευχαριστούμε! Σου έχουμε στείλει ένα email με ένα σύνδεσμο για να διεκδικήσεις τη δωρεάν πίστωση σου.
Κάτι πήγε στραβά κατά την προσπάθεια αποστολής του email σου. Παρακαλούμε δοκίμασε ξανά.
Εγγεγραμμένοι Χρήστες Συνολικές Αναρτημένες Δουλειές
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Φόρτωση προεπισκόπησης
Δόθηκε πρόσβαση για Geolocation.
Η σύνδεση σου έχει λήξει και τώρα έχεις αποσυνδεθεί. Παρακαλούμε συνδέσου ξανά.