Started work on the multiplayer part of multiplayer game ( -_-)
This commit is contained in:
parent
9b3151b55d
commit
625d1e52fe
26 changed files with 587 additions and 437 deletions
|
|
@ -1,4 +1,4 @@
|
|||
const socket = new WebSocket("ws://localhost:8080/websocket");
|
||||
const socket = new WebSocket("/websocket");
|
||||
|
||||
socket.addEventListener("message", (event) => {
|
||||
let messages = document.getElementById("messages");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue