Find Jobs
Hire Freelancers

Assignment help in c language

$10-30 USD

In Progress
Posted almost 8 years ago

$10-30 USD

Paid on delivery
You’re required to build a game ‘Boom-The-Battleship’ in C program that fulfil the below requirements/rules: • The mission of the player that plays the game is to find the battleship of your enemy through a masked out map. • The game should have a 20 rows x 60 columns size, which you should masked the area with the character ‘#’. • The game should allow player to choose among 3 stages of difficulties. For example: • Beginner: 80 ships • Intermediate: 50 ships • Advance: 20 ships (Note: You may define your own number of ships for each level which you think appropriate) • Each ship is in 5 characters length. • Once the game started, all the ships will be scattered randomly in the map. The ships should not be visible to the player. • The player is required to choose the location to boom by coordinates (row, col). You should not process if the location is out of the map’s boundary. • Unmasked the location which has been boomed. If there’s a ship at that location, unmask the whole ship. • Game will end when player successfully destroys 5 ships, and the screen should display the total number of attempts the player has taken, and show the appropriate ending message, for example: • If total attempts > 20: display “You need to try harder!” • If total attempts between 10-20: “Not too bad” • If total attempts < 10: “You have the talent!” • Or, game will end if player not able to destroy 5 ships within 30 attempts and the screen should display the message “You’ve no luck today” You’re encouraged to improve your code structure by using functions. You’re encouraged to add in any additional controls, validations or messages which you think are appropriate. Followings are some sample screenshots of the game (you’re allowed to have variances of display design, arrangement or style, as long as it fulfilled the game requirement stated above). Hint: You will need to use multi-subscripted array
Project ID: 10967987

About the project

10 proposals
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
10 freelancers are bidding on average $40 USD for this job
User Avatar
Hi there, I have read the requirements and I would like to do this project if given the opportunity. Let me know if you are interested so I can have further details. Thanks.
$30 USD in 7 days
5.0 (549 reviews)
7.2
7.2
User Avatar
Hi, I am experienced in C, I can make this program according to all the requirements in one day. Please contact me.
$30 USD in 1 day
4.9 (98 reviews)
6.4
6.4
User Avatar
This sounds fun. will give it to you in few hours
$18 USD in 0 day
5.0 (46 reviews)
5.5
5.5
User Avatar
Hello Sir, I would love to do your work...I have read the requirements and I can do the work as I have good experience in working with C...Contact me so we can talk further.... Thank you....
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$10 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of MALAYSIA
Selangor, Malaysia
5.0
3
Member since Jul 9, 2016

Client Verification

Other jobs from this client

Ship coding
$2-8 USD / hour
Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.