/Projectile-Motion-Game

That's a 2D Java projectile motion game using StdDraw Library

Primary LanguageJava

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'.