https://mixrolikus.cc/video/hG8vMPcm_8o/dots-and-boxes-game-using-javascript-tutorial-part-4