CSC 220 – Project 1: My First Video Game

$30.00

Category: Tags: , , , , You will Instantly receive a download link for .zip solution file upon Payment || To Order Original Work Click Custom Order?

Description

5/5 - (3 votes)

Design and implement a video game in which the user uses the mouse or keyboard to control an
animated character and avoid an enemy. The program should keep track of the score by counting
the number of frames in which the creature was displayed.
If the character collides with the enemy, it should lose a life. When the character loses all its
lives, it should disappear from the screen, and the Processing message window should read
“Game Over”, followed by the final score.
Program requirements:
• The program should handle display and movement for the two characters.
• The enemy should start in a random location and move at a constant speed bouncing off
walls.
• The player’s character may start in any position that you define (center, corner, random,
etc.), and move as dictated by the mouse or keyboard. It should not fall off the screen.
• Collisions between the character controlled by the player and the enemy should be treated
as described above.
Formatting Requirements
• Follow indentation rules as discussed in class
• Comment your code
• Start your program with a comment containing your name and the name of the
assignment, followed by a comment that explains what your program does.
What to turn in
• A README.txt file that describes your game, including how to play your game, what are
the expected results and what special features your game has.
• Zip the folder containing your pde file(s) and README.txt. Submit the zipped file
through Canvas by the deadline.