Skip to content

emrahhcan/CatchTheBalls

Repository files navigation

Catch The Balls

A game which you try to catch the balls written in Java using swing for CMPE 261 class. There are several screenshots below you can see how the game looks like.

Goal of the Game

The goal of this game is to catch the balls with the basket which is located below of the window. If you cannot catch the ball, the program will terminate itself.

Behaviours of the Game

  • The ball has a initial speed and it will increse after 5 balls get caught.
  • Then between 5 to 10, 10 to 15, 15 to 20 falling speed of the ball will increase regularly.
  • After 20 balls get caught, falling speed will be changed by the game randomly. Be careful, it might be too fast or too slow.

Properties of the Game

  • You can start the game by using left and right arrows, or you can use Start/Continue button in the menu up of the game window.
  • Also, you can stop the game in exact place where the ball is located. You will see small message box after stop button get clicked. After all there are several steps to follow up;
    • First, you need click ok button on message box, or you can press Enter key on your keyboard.
    • Second, you can use left or right arrow keys, or click start/continue button up of the game window.
  • There is a also message button to learn how to play.
  • You can see your score below of the game window.

How to Play?

  • You need to catch balls as much as you can.
  • Game will terminate if the ball touch the empty spaces.
  • Use left and right arrow keys to move the basket.
  • After 5, 10, 15, 20 balls speed will change regularly.
  • After 20 balls, ball speed will be change randomly.

How Does It Look Like

General View

General View

Game Over

Game Over

Stopped

Stopped

How to Play

How to Play

About

A game which you try to catch the balls written in Java swing for CMPE 261 class

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages