Slide 1

Slide 1 text

Catch the Objects By Tetsuro Ishida & Saurav Shrestha

Slide 2

Slide 2 text

Why did we create this game? Our initial idea was to create a game similar to tetris however the code for the different shapes and sizes along with the movement and control of the objects was more complicated than we thought. So, we decided to use the idea of dropping an object from the top of the screen from tetris and catching it on the bottom of the screen with a basket to gain points. We also added different shapes and colors for the objects to make it more interesting.

Slide 3

Slide 3 text

Starting Menu When the user run the program, this window is shown. If the user clicks OK, the game starts. If the user clicks Cancel, the program ends.

Slide 4

Slide 4 text

GUI

Slide 5

Slide 5 text

Rules of the game ● You can use mouse or keyboard to move the basket. ● Catching each ball the player earns 10 points. ● Catching each square the player earns 50 points ● After scoring 100 points, the points earned for each object is decreased to half i.e. 5 for each ball and 25 for each square. ● You have 10 lives which means you lose 1 life each time you miss the object and if you miss 10 objects the game is over.

Slide 6

Slide 6 text

Result After your life becomes 0, the window below appears. This shows your total score.

Slide 7

Slide 7 text

Restart or Quit the game After you click OK on the previous window the window below appears This window asks you whether or not you want to restart the game. If you click OK, the game restarts. If you click Cancel, the program ends.

Slide 8

Slide 8 text

CODING

Slide 9

Slide 9 text

This code block was used to create the starting menu

Slide 10

Slide 10 text

This code block was used to create the panel

Slide 11

Slide 11 text

This method paints background, makes bowl’s position lower,and creates balls and squares which have been painted.

Slide 12

Slide 12 text

This code was used to create shape, color and the starting point of the ball.

Slide 13

Slide 13 text

This method creates random colors which are blue, green, or red for the balls.

Slide 14

Slide 14 text

This code was used to create shape, color and the starting point of the square.

Slide 15

Slide 15 text

This code was used to create the basket and paint it

Slide 16

Slide 16 text

This block of codes moves the balls, determine if the user catches the balls, reset balls, update the score and the life, and setting the speed of balls.

Slide 17

Slide 17 text

This block of codes moves the squares, determine if the user catches the square, reset squares, update the score and the life, and setting the speed of squares.

Slide 18

Slide 18 text

This block of codes is used to control the basket by the keyboards.

Slide 19

Slide 19 text

These blocks of codes control a basket by using mouse.

Slide 20

Slide 20 text

This code block was used for the scoring system

Slide 21

Slide 21 text

This code shows the window of the user’s score

Slide 22

Slide 22 text

These blocks of codes display the game over option, if the user chooses OK, the game restarts. If the user chooses Cancel the program ends.

Slide 23

Slide 23 text

THANK YOU