How to make a multiplayer game on NOTEPAD
Hello everybody after publishing two games today I am publishing my third game which is a multiplayer game.Just follow my STEPS. STEP 1:Open NOTEPAD and copy the codes. STEP 2:after that just Save as 12345.html (replace 12345 with the game name) <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <style> body { padding: 0px; } canvas { margin-top: 15vh; margin-left: 20vw; background: black; outline: 1px solid white; } </style> </head> <body onload="startGame()"> <script> var hockey1; var hockey2; var ball; var point1 = 0; var point2 = 0; function startGame() { myGameArea.start(); hockey1 = new component(8, 60, "yellow", 20, 150); hockey2 = new component(8, 60, "lime", 670, 150); ball = new component(7, 7, 'orange', 350, 170); myScor...