forked from AVGP/Montagsmaler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (51 loc) · 2.53 KB
/
index.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html>
<html>
<head>
<title>Montagsmaler 0.1c</title>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/jquery-ui.min.js"></script>
<script src="/socket.io/socket.io.js"></script>
<script type="text/javascript" src="game.js"></script>
<script type="text/javascript" src="touch.js"></script>
<link rel="stylesheet" href="style.css" type="text/css" />
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/themes/start/jquery-ui.css" type="text/css" />
<link href='http://fonts.googleapis.com/css?family=Luckiest+Guy' rel='stylesheet' type='text/css'>
<meta name="viewport" content="width=600, height=600, initial-scale=1.0, user-scalable=yes">
<meta name="google-site-verification" content="gMbpKKtKwT8-8S9SgiWyMZ2x_YfGdII1HIixU7ho4LE" />
<script>
window.fbAsyncInit = function() {
FB.init({
appId : '351953848173431',
status : true,
cookie : true,
xfbml : true
});
};
(function(d){
var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
js.src = "//connect.facebook.net/en_US/all.js";
d.getElementsByTagName('head')[0].appendChild(js);
}(document));
</script>
</head>
<body>
<div id="wrap">
<h1>Montagsmaler</h1>
<div id="status"></div>
<div id="game">
<canvas id="canvas" width="500" height="300" style="border: #888 solid 1px; cursor: crosshair;"></canvas>
<form action="javascript:void(0)" id="guessform">
<input id="guess" />
<button type="submit">Guess</button>
</form>
<button type="button" id="reset">Clear Drawing</button>
<button type="button" id="skip">Skip</button>
<button type="button" id="save">Share drawing on Facebook</button>
<div class="fb-like" data-href="http://montagsmaler.nodester.com" data-send="true" data-width="450" data-show-faces="true"></div>
<fb:add-to-timeline></fb:add-to-timeline>
</div>
</div>
<div id="dialog"></div>
</body>
</html>