2023-08-01 09:25:16 +03:00
|
|
|
doctype html
|
|
|
|
html(lang='en')
|
|
|
|
head
|
|
|
|
title Pixel Battle
|
|
|
|
meta(charset="UTF-8")
|
|
|
|
body(style="background-color: grey;")
|
|
|
|
p
|
|
|
|
| Server to connect:
|
|
|
|
- var server
|
|
|
|
input(type="text" id="server-address" value=server)
|
|
|
|
- var port
|
|
|
|
input(type="number" id="server-port" value=port)
|
|
|
|
input(type="button" id="server-button" value="connect" onclick="connect()")
|
|
|
|
p
|
|
|
|
input(type="color" id="color")
|
2023-08-02 07:17:23 +03:00
|
|
|
br
|
|
|
|
| timer:
|
|
|
|
b(id="timer")
|
2024-04-06 22:24:13 +03:00
|
|
|
br
|
|
|
|
| online:
|
|
|
|
b(id="online")
|
2023-08-01 09:25:16 +03:00
|
|
|
canvas(id="board" width="1920" height="1080" style="border:1px solid #000000;" display="block")
|
|
|
|
canvas(hidden id="hidden" width="1920" height="1080")
|
|
|
|
script(type="text/javascript" src="./logic.js")
|