- .css({'display':'block'}) is the same as .show();
- top_row_y_base is a constant, so every .css that uses it could be in a class.
- .css({'z-index':'1','position':'absolute', top:10, left:315, 'cursor':'pointer'});
- should be a class
- all that 'font-family': 'Courier New, Courier, monospace', should be in the css file.
I just tried pressing the play many times. It went wild.
You need to keep track of the fact that you are 'running' and not allow
it to start over until it is completely done. Hiding the start button would do the job.
Putting the address into a variable is just one of many steps to shorten the code.
Both static CSS and HTML run faster than JavaScript(jQuery), so the more you can do in
your css & html files the faster the page will appear.
Of course it all worked pretty well from the beginning, these suggestions are
just improvements that you can use for future projects.
JΛ̊KE