generate random 2D board using HTML and CSS as a user interface