first commit! 🎉
This commit is contained in:
commit
c35c18bbbc
19 changed files with 1046 additions and 0 deletions
39
client/index.html
Normal file
39
client/index.html
Normal file
|
@ -0,0 +1,39 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>multiplayer test</title>
|
||||
<link href="/css/main.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<h1>multiplayer test</h1>
|
||||
<canvas id="game" class="offline" tabindex="1"></canvas>
|
||||
<script type="module" src="/js/main.js"></script>
|
||||
<div id="controls">
|
||||
<label for="fakeping">Fake Latency (ms): </label>
|
||||
<input type="number" id="fakeping" value="0" min="0" max="1000" title="This feature is broken!" disabled>
|
||||
<label for="interpolation">Interpolation: </label>
|
||||
<input type="checkbox" id="interpolation">
|
||||
</div>
|
||||
<div id="chatbox"></div>
|
||||
<div id="compose">
|
||||
<input type="text" id="compose-msg" value="" placeholder="Chat with players...">
|
||||
<button type="submit" id="compose-btn">Send</button>
|
||||
</div>
|
||||
</body>
|
||||
<footer>
|
||||
<p>
|
||||
This is a test game I'm using to learn client/server interactions.
|
||||
Expect a very minimal experience with little polish!
|
||||
</p>
|
||||
<p>
|
||||
Mobile devices are sadly not supported, but not off the table!
|
||||
</p>
|
||||
<p>
|
||||
If you enjoy this little project, or have any neat ideas,
|
||||
feel free to send them my way at
|
||||
<a href="mailto:ari@arimelody.me">ari@arimelody.me</a>.
|
||||
</p>
|
||||
</footer>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue