Created
February 22, 2019 21:53
-
-
Save prolightHub/b8715cd2e5df8af9f63d4ee2c851c569 to your computer and use it in GitHub Desktop.
WebSocket using wss://echo.websocket.org
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
background-color: rgb(0, 0, 0); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> | |
<title>Multiplayer Hosting Test</title> | |
<link rel = "stylesheet" type = "text/css" href = "index.css"/> | |
</head> | |
<body> | |
<canvas id='display' width='1' height='1'/></canvas> | |
<canvas id='minimap' width='192px' height='192px'/></canvas> | |
<canvas id='fps' width='100px' height='50px'></canvas> | |
<script src='index.js'></script> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var v = 0; | |
console.log(v = v); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment