-
Notifications
You must be signed in to change notification settings - Fork 387
/
demo.html
78 lines (60 loc) · 2.65 KB
/
demo.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Blockrain.js - A Tetris game in HTML5 + Javascript (with autoplay!)</title>
<meta name="description" content="Blockrain.js lets you embed the classic Tetris game on your website" />
<meta name="keywords" content="js, jquery, game, plugin, html5, tetris" />
<meta name="robots" content="INDEX, FOLLOW" />
<meta name="author" content="Aerolab" />
<!-- Facebook Stuff -->
<meta property="og:type" content="website" />
<meta property="og:site_name" content="Blockrain.js" />
<meta property="og:title" content="Blockrain.js - a Tetris game in HTML5 + Javascript" />
<meta property="og:description" content="Blockrain.js lets you embed the classic Tetris game on your website" />
<meta property="og:image" content="http://aerolab.github.io/blockrain.js/assets/images/social-card.png" />
<meta property="og:url" content="http://aerolab.github.io/blockrain.js" />
<meta property="fb:app_id" content="344819049029949" />
<!-- Twitter Stuff -->
<meta property="twitter:card" content="summary" />
<meta property="twitter:site" content="@aerolab" />
<meta property="twitter:title" content="Blockrain.js - a Tetris game in HTML5 + Javascript" />
<meta property="twitter:description" content="Blockrain.js lets you embed the classic Tetris game on your website" />
<meta property="twitter:image" content="http://aerolab.github.io/blockrain.js/assets/images/social-card.png" />
<meta property="twitter:url" content="http://aerolab.github.io/blockrain.js" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui" />
<link rel="shortcut icon" href="assets/images/favicon.png">
<link href='http://fonts.googleapis.com/css?family=Play:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="assets/css/style.css">
<link rel="stylesheet" href="src/blockrain.css">
</head>
<body>
<section id="examples">
<header>
<h1>Check out the demo</h1>
</header>
<article id="example-slider">
<div class="example">
<div class="game" id="tetris-demo"></div>
<div class="game" id="tetris-demo-2"></div>
</div>
</article>
</section>
<script src="assets/js/jquery-1.11.1.min.js"></script>
<script src="src/blockrain.jquery.libs.js"></script>
<script src="src/blockrain.jquery.src.js"></script>
<script src="src/blockrain.jquery.themes.js"></script>
<script>
var $demo = $('#tetris-demo').blockrain({
speed: 100,
theme: 'individual',
autoplay: true
});
var $demo2 = $('#tetris-demo-2').blockrain({
speed: 100,
theme: 'individual',
autoplay: true
});
</script>
</body>
</html>