If you want to make a website to host your games this code would be a good place to start
https://codepen.io/portree-maths-tutor/pen/qBPWNwy
https://bxsqicnnd0w1kwvazl503w-on.drv.tw/Blogging/