Tee Box 2 | JavaScriptSource

Tee Box 2

Jason Fondren Jan 5, 2004
The JavaScript Source: Games: Tee Box

Tee Box Instructions

Tee Box is a little logic game with a golf theme. The game board is an 8x8 grid of grass surrounded by 32 golf balls teed up and ready to drive.

To hit a golf ball simply click on it. The ball (unlike when I hit a golf ball) will travel in a straight line. If there are no hazards hidden in the straight-line path, you should see the ball drop down in the cup directly opposite.

Now don't get too excited, the purpose of the game is not to hit a hole-in-one. That would be too easy. Your goal is to find the four hazards hidden within the course. Each hazard affects the ball differently, so you have to watch closely when you hit the ball to see where it ends up.

The tree hazard sends the ball directly back in the direction it came from. If you hit a ball and it drops back into the hole you hit it from, you can be certain that it hit a tree somewhere along the way.

The rock hazard sends the ball to the right. If you hit a ball and it drops into a cup along the axis to the right of your shot, it's fairly certain that at the point where the row of your shot and the column of the hole intersect the rock hazard is there.

The cart hazard sends the ball to the left. If you hit a ball and it drops into a cup along the axis to the left of your shot, it's fairly certain that at the point where the row of your shot and the column of the hole intersect the cart hazard is there.

The water hazard stops the ball dead. If you hit a ball and it does not fall into any holes, you can be certain that it hit the water hazard somewhere along the way.

If you suspect that you know where a hazard is, click on its icon to the right of the game board and then click in the grass grid to place it. Once all four hazards are placed, click the button labeled Check My Work to see if you succeeded. Use the Red X tool to signify that a square is open and free from hazards.



 

The JavaScript Source: Games: Tee Box

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Command-s). The script is yours!!!

    

Did you use this script?  Do you like this site?  Please link to us!

Leave a Response

(0 comments)