-
Notifications
You must be signed in to change notification settings - Fork 0
/
cards.html
81 lines (61 loc) · 1.93 KB
/
cards.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
79
80
81
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Noto+Sans" rel="stylesheet">
<link rel="manifest" href="site.webmanifest">
<link rel="apple-touch-icon" href="icon.png">
<!-- Place favicon.ico in the root directory -->
<!-- <link rel="stylesheet" href="css/normalize.css"> -->
<link rel="stylesheet" href="css/main.css">
<script src="assets/cards/vendor/webfontloader.js"></script>
<style>
#app {
position: relative;
margin: auto;
width: 90vw;
height: calc(90vw / (16 / 9));
}
.controls {
margin: auto;
}
</style>
<script src="js/more/cards/bundle.js"></script>
</head>
<body>
<!--[if lte IE 9]>
<p class="browserupgrade">You are using an <strong>otudated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p>
<![endif]-->
<!-- Add your site or application content here -->
<section>
<a href="https://github.com/eguneys/tapper"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
<a class="navback" href="games.html"> See other games </a>
<h1>Play Cards</h1>
<div id="app"></div>
</section>
<script>
const init = () => {
let opts = {
assetsBase: 'assets/cards/'
};
let orb = Tetris(document.getElementById('app'), opts);
};
WebFont.load({
google: {
families: ['Roboto']
},
custom: {
families: ['fipps'],
urls: ['assets/cards/fonts.css']
},
active: e => {
init();
}
});
</script>
</body>
</html>