Makes it easier to control how fast coast lines display.
Moves code into a Terrain object instead of scattered globals.
Moves my jQuery code into its own top level object.
Rolls the terrain initialization code into its own function.
Runs a stip of ice down the center of the terrain.
Randomizes the coast line at the start of the game.
Randomizes the coast line as the game progresses.
Tracks previous and next states for coast line tiles.
Working out transitions for the coast line.