Project Trwo

Design Due 27 May, Program Due 4 June

Intro:

You are going to write a program to play the game Artillery.  Artillery is a two player game (played between one human player and a computer player ) where each player gets an artillery piece.  The pieces are separated by some X meters and the players take turns shooting at each other. The player who is the first to land a shall within a certain distance of the enemy artillery piece wins.  Players take turns by picking an angle (in degrees ) relative to the horizontal and a speed (in meters pers second ) for their shell. The computer then calculates the distance that a shell travels in meters. If the shell lands within a certain distance of the enemy, the game is over.

Details:

Here are some things to make the game fun!! (ie: REQUIRED FEATURES!!!)

Design Extras:

The design document is worth 40 points. 20 points for correctness, 20 points for following the style discussed in class. The document is due in to me via an emailed TEXT file by 11:59pm of the due date.

Hints:

Extra Credit:

Grading Criteria

This program is worth 75 points. The largest amount of points a non compiling program can earn is 25 points. From this total, 2 points per error will be deducted until no more errors are found or there are no points left.

Style is very important. All variables should have useful names, all lines of code should be indented, and there should be comments about once every 5-10 lines. Each violation is subject to a 2 point deduction to a maximum of 26 points.

For each functionality listed above that is not completed, a maximum 8 point penalty will apply.