19 lines
813 B
Plaintext
19 lines
813 B
Plaintext
|
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")
|
||
|
input(type="button" id="submicColor" value="change color" onclick="changeColor()")
|
||
|
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")
|