A dot game built on JavaScript(canvas)