document.addEventListener("DOMContentLoaded", async () => { "use strict"; const $ = (s,c) => (c||document).querySelector(s); function $$(x,y,z,a){a=(z||document).querySelectorAll(x);if(typeof y=="function")[].forEach.call(a,y);return a} function m(a,b,c){c=document;b=c.createElement(b||"p");b.innerHTML=a.trim();for(a=c.createDocumentFragment();c=b.firstChild;)a.appendChild(c);return a.firstChild} const boardEl = document.createElement("table"); $("#board").appendChild(boardEl); for (let i=0;i<6;i++) { let o = "