Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

****How do I write a simple tank program for fortran95?***

Status
Not open for further replies.

thunderdome7

Programmer
Dec 6, 2009
1
US
*****We are trying to write a fortran program where two tanks seperated by a wall shoot at eachother based on the players input of velocity and angle of departure. Our deadline is approaching and any help would be greatly apprectiated.. a simple program is all we are lookin for.
Thanks****
 
Writing the program is the easy bit but you need a few things before that.

1) Have you worked out the physics of the trajectory based on velocity and angle? Basically, if you fire from a certain position, where does the shell land.

2) Have you worked out the game play - like how you input the data for velocity/angle, how high the wall is etc?

3) How will you be displaying the missed distance? This has to be positive or negative depending on how far your shell has gone. Also, you need a range, within which the missed distance is achieved. Say anywhere within a 2m radius of the turret. It is next to impossible to get a direct hit.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top