After reading some sources I've got some questions. First of all let's see the alghorithm of creating playfield:
cause of the for cycle we put a small gif image in a table 21 times. Is it efficient cause it's easier to make document.write once with big ground image. Is there any other way of visualizing the play field without document.write?