
|
Handball - an application
of the line equation
by James Rogers
|
|
|
| |
| An application of the line equation, y = mx + c |
| |
| Handball
- A simple computer game. Play |
| |
| A screenshot of the game is shown below: |
| |
 |
|
Handball
The game: stop the box from escaping beyond the right
wall. If you put the mouse cursor over the box it bounces in the other
direction.
The longer you keep it in play, the faster it gets.
|
|
| |
| The box is served from the left wall at a random position and
a random slope. It bounces off the top and bottom walls. If it reaches
the right wall it disappears and a new box is instantly served from the
left wall. The object of the game is to keep the box from reaching the
right wall. The player does this by moving the mouse cursor over the
box as it moves. If the cursor moves over the box, it bounces back in
the opposite direction. |
| |
| This game is an application of the line equation, y = mx + c. The position of
the box on the screen at any time is determined by its x-y coordinate (x is its horizontal position
while y is its vertical
position). |
| |
| |
|
| |
| The Teacher's Version |
| A teacher's version of the game is shown below: |
| |
 |
| |
| The pace of this version is much slower and there are extra
features, as can be seen. The line equation at a given time is
displayed. |
| Start the game by clicking on Serve. |
| The game can be paused by clicking on the Play/Pause
button. Also, when pause on bounce is checked the game
automatically pauses when the box bounces off the top, bottom or right
wall or when the mouse is placed over it. |
| When the game is paused, the box's x-y coordinate is displayed.
The game can be restarted by clicking Play. |
| |
| A Technique for the Teacher |
- Check pause on bounce.
- Start the game by clicking on Serve.
- When the box reaches a wall, it is about to bounce, so the
game stops.
- The x-y
coordinate is displayed.
- Get the students to use this information to calculate the
new line equation.
- Click Play to restart the game and verify the
students' answers.
|
| |
|
| |
| Running the Teacher's Version in Your
Browser |
| |
| To run Handball in your web browser, click here. |
| |
If the applet does not launch you may not
have the J2RE installed on your system. You may be prompted to download
and install it. If not, Get
Java
|
| |
|
| |