CSS Chess Board Neatly dressed up HTML <table> with computer opponent and bugs

1

This program evolved from a CSS example I made for someone asking a question on irc.freenode.net#css about alternating background colors for a table. I got carried away and turned the test-table into a chess board. It looked nice, so I added a little bit of JavaScript to allow for moving the pieces, and later added a computer opponent.

Legal move checking is still unfinished, pawn promotion is missing. Therefore, the game will crash upon such a move being made by the engine! There are some known bugs, too, but I am still working on this program. Things should improve soon, unless I move my attention to another project and forget to update this notice. (January 6, 2020)