The main purpose of the program is modelling the projectile motion. While doing that, reads environment file which includes game object information (obstacles and targets) and draw them. User can set the ball’s velocity and angle of movement using arrow keys. Program controlls if the bal is inside the any game object or not. If ball touch the obstacle (blue one), player loses the game. In addition that, if the ball goes of the screen (except the top), again, player loses. Balls must hit red objects to win. After the game is over or while playing, player can leave the game with key 'Q', also player can restart the game with key 'P'.
-
Notifications
You must be signed in to change notification settings - Fork 0
asarm/Projectile-Motion-Game
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
That's a 2D Java projectile motion game using StdDraw Library
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published