Done by Hu Bishi.

In this Grand Prix, we build our unmanned Go-Kart according to our own 
specification and let it run/race in our favourite game environment.
The main points of this assignment are to construct a simple 3D world 
using at least 3 objects:

-Terrain (with texture)
-sky box (with texture)
-Go-Kart

Simple collision detection should be provided to make sure that the Go-Kart
always stays on top of the terrain and simple mouse/keyboard input should also
be implemented to initiate the movement of the racing machine.


DESCRIPTION OF GAME AND IMPLEMENTATION****************************

The game environment is chosen to be at a grassland with surrounding mountains 
and trees.Skybox can be implemented using both cube and sphere. It 
is very difficult to texture in sphere because of the distortion which appears 
when applying spherical coordinates to a rectangular texture,thus cube is chosen 
as texture generation is not a problem.

The cube is textured with pictures of grassland and sky to feature the open field 
environment.The GO-Kart is implemented using a cube. To make it look more like a car, it is 
textured with picture of a red car.

The terrain was constructed using a height map which determined the height of the terrain. 
The .raw file that store the height map values were read and the terrain was rendered 
using triangle strips. A texture is then mapped over the entire terrain to show more realism. 

A 3D game should allow the player unrestricted movement. Thus the game is implemented 
in such a way that as the carmera/GO-Kart move, the background also move. In this way,
the GO-Kart will never go out of the scene and makes the player feel like they are in 
an unlimited 3D world.


DESCRIPTION OF GAME CONTROL***************************************

GOAL - To run/race pass under the finishing banner
(Note: You can only win when you cross UNDER the banner. Crossing outside the boundary of
the finishing line is not considered a win.)

Navigation control:

key UP - Move forward toward finishing line.
key DOWN - Move backward away from finishing line.
key RIGHT - Move to the right.
key LEFT - MOve to the left.
key S - Stop the car from moving.


If you cross the finishing line successfully, a message box will pop up to indicate that
you have win the game.