-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathformsTest.html
33 lines (30 loc) · 1.48 KB
/
formsTest.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<title>Roguish</title>
<link rel="stylesheet" href="main.css">
</head>
<body style="padding: 0px; margin: 0px; width: 100%; height: 100%; background-color: #000;">
<div style="border: 2px dark-gray solid; padding: 40px; font-size: 50px; background-color: gray; z-index: 2; position: absolute; right: 10px; top: 10px; border-radius: 20px;" id="turnStatus"></div>
<center>
<canvas id="gamecanvas" style="width: 100%; height: 100%; zoom: 100%;-moz-transform: scale(1); -moz-transform-origin: 0 0; z-index: 1; position: absolute; top: 0px; left: 0px; -ms-touch-action: none; touch-action: none;"></canvas>
</center>
<!-- required build.min -->
<script src="build/game.min.js" type="text/javascript"></script>
<script>
// google analytics placeholder
</script>
<script>
header = "<h2>Rougish</h2>"
$(".forms").prepend(header);
$(".forms").append('<button class="button-default" placeholder="New Game" id="default-form-0-name-0">quit game</button>');
$(".forms").append('<img id="knot" src="knot.jpg"></img>')
// $(".forms").append("<button class="button-default" placeholder="New Game" id="default-form-0-name-0">New Game</button>");
</script>
</body>
</html>