Other versions used absolute positioned images or divs to make up the blocks.
Using a <table> with CSS-styled cell borders as a grid seemed logical.
I tried different ways of accessing the table cells:
We're talking 30-40 milliseconds here BTW, not microseconds (remember, 2004) to iterate
through the cells. Accessing it by table.rows[y].cells[x]
was almost as fast as nextSibling but more convenient in terms of code-size and readability :-)
The same is true for using table methods addRow and deleteRow. Less code and more speed then moving the cells individually.
Nowadays you can bring it down to 1 KB or even 512 bytes, but I did not want to give up on the scoring system, preview and VIM-bindings :-) Another time maybe!
The code is 45 lines and ofcourse a great mess but pretty readable if you beautify it.