Assignment 4 - Pinball Machine


About this applet

This is a Java applet especially designed for our Java Assignment. Jacky and Linda both build this applet out in which Jacky works mainly on the pinball bouncing and Linda is involved in the interface and Layout.

You can read the Instructions first before you play the game.


Loading applet may need a minute... Please wait...

To get better performance, please use Microsoft Internet Explorer 3.0 or above


Instructions

In this game, you can choose the number of balls to participate in a game but the most is 3 so that there is a maximum of 3 balls playing at the same time.

To start a game, the label of "New Game" should be pressed and 3 pinballs will appear at the sided tube waiting to be ejected. The extend of driving force on the new ball can be enforced by pulling the red stroke at the rounded tube as downwards as possible to achieve the maximum force giving onto the new ball.

The pinball is basically under normal physical laws and it is especially designed when it is near the flippers so that accurate bouncing and slipping can be occurred.

For the score, everytime when a pinball bounces to the wall, some marks will be added. 100 will be given when the ball hits the three rounded obstacles in the center which causes light flashes.

You can use both the Keyboard or the mouse to play the game.

Using the Keyboard
"z"Left flipper
"/"Right flipper
"Space Bar"bumper for new balls
"n"New game

Using the Mouse
Click at the flippersLeft and Right flipper
Draging at the bumperGet force to bump new balls out
Click the "New Game" LabelStart a new game


Source program