In Progress

c programming

Problem Description:

Your are to create a text base game to try and hit a target in two dimensional plane (X,Y) using a cannon ball.

The program will randomly create 5 targets (5 sets of X,Y) and display the set on screen. These are the coordinates of the targets such that: 500 < X < 5000 (meter) and 500< Y < 5000(meter)

Player will have 3 chances to hit any of the 5 square targets which is 10 X 10 meters by entering the initial velocity and initial angle. The coordinate of the target is at the center of the target.

If the player hits a target, the program will display the name and the number of tries and message indicating that the player won and the time it took to hit the target (time of flight for the hit try), and the target number with beeps for indication that a target was hit. If the player did not hit any target in 3 tries, the program will display the initial angles and the initial velocities that were needed to hit each target and list them on the screen.

Regardless of win or lose, the program must record the target numbers and their coordinates in a file with the players name (a name from [url removed, login to view], below), for example [url removed, login to view]

The game can be played only if the user has the correct name and correct ID. The list of names and ID’s are given in a text file called [url removed, login to view], such as below

leia 12345

darth 23456

r2d2 34567

solo 45678

jabba 56789

yoda 67890

Skills: C Programming, Technical Writing

See more: writing programming in c++, win or lose game, using numbers in writing, programming center, initial programming needed, if c programming, game in c++ programming, c++ programming problem, c programming or, c programming if, c programming example, programming needed custom blog, database programming needed, contract programming vfp needed, term personal assistant design programming skills needed, needed database programming, win holdem poker bot programming, php programming needed, 89c51 flash programming win, programming needed manipulate photos, social networking site programming knowledge needed

About the Employer:
( 11 reviews ) NAIROBI, Kenya

Project ID: #10329098

Awarded to:

Debolina27

Hello My name is Debolina Sarkar, and I am a Chemical Engineering graduate. I shall be starting graduate school this fall, so have a few months to kill before that (hence Freelancer). Looking at your problem, I b More

$6 AUD / hour
(1 Review)
1.6

2 freelancers are bidding on average $5/hour for this job

$5 AUD / hour
(0 Reviews)
0.0
nyckw2010

A proposal has not yet been provided

$5 AUD / hour
(0 Reviews)
0.0