Skip to content

Instantly share code, notes, and snippets.

@prolightHub
Created February 22, 2019 21:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prolightHub/b8715cd2e5df8af9f63d4ee2c851c569 to your computer and use it in GitHub Desktop.
Save prolightHub/b8715cd2e5df8af9f63d4ee2c851c569 to your computer and use it in GitHub Desktop.
WebSocket using wss://echo.websocket.org
body {
background-color: rgb(0, 0, 0);
}
<!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>
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