forked from chaitu236/TakWeb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
169 lines (160 loc) · 7.62 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
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<!DOCTYPE html>
<html lang="en">
<!-- Header Information -->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description"
content="Play online Tak games. Tak is a strategy board game created by James Ernest and Patrick Rothfuss">
<meta name="keywords" content="online tak, playtak, play tak">
<meta property="definition.tss" content="
<tss
<models?
<capstone+=s
<spline
<node*
<x:f1>
<y:f1>
<normals:s>
<tex_height?:f1>
<shadow_alpha?:f1>
>
>
<roundness?:i255>
<height_stretch?:f>
<width_stretch?:f>
>
>
<preset+=s
<capstone:s>
<background:col>
>
<active:s>
>"
>
<meta property="default.tss" content="
<tss
<models
<capstone=default_0
<spline
<node <x:0.97> <y:0.00> <normals:b> <tex_height:0.00> <shadow_alpha:0.6>>
<node <x:1.00> <y:0.02> <normals:u> <tex_height:0.03> <shadow_alpha:0.0>>
<node <x:1.00> <y:0.07> <normals:b> <tex_height:0.15> <shadow_alpha:0.0>>
<node <x:0.97> <y:0.09> <normals:c> <tex_height:0.18> <shadow_alpha:0.2>>
<node <x:0.93> <y:0.10> <normals:s> <tex_height:0.21> <shadow_alpha:0.4>>
<node <x:0.93> <y:0.11> <normals:s> <tex_height:0.24> <shadow_alpha:0.4>>
<node <x:0.97> <y:0.12> <normals:c> <tex_height:0.27> <shadow_alpha:0.3>>
<node <x:1.00> <y:0.14> <normals:u> <tex_height:0.30> <shadow_alpha:0.0>>
<node <x:1.00> <y:0.18> <normals:b> <tex_height:0.36> <shadow_alpha:0.0>>
<node <x:0.97> <y:0.20> <normals:u> <tex_height:0.39> <shadow_alpha:0.0>>
<node <x:0.80> <y:0.24> <normals:s> <tex_height:0.44> <shadow_alpha:0.1>>
<node <x:0.80> <y:0.24> <normals:s> <tex_height:0.44> <shadow_alpha:0.3>>
<node <x:0.81> <y:0.26> <normals:b> <tex_height:0.46> <shadow_alpha:0.2>>
<node <x:0.79> <y:0.28> <normals:u> <tex_height:0.49> <shadow_alpha:0.1>>
<node <x:0.72> <y:0.295><normals:s> <tex_height:0.52> <shadow_alpha:0.2>>
<node <x:0.72> <y:0.295><normals:s> <tex_height:0.52> <shadow_alpha:0.4>>
<node <x:1.00> <y:0.75> <normals:c> <tex_height:0.98> <shadow_alpha:0.0>>
<node <x:1.00> <y:0.77> <normals:c> <tex_height:1.00> <shadow_alpha:0.0>>
<node <x:0.98> <y:0.79> <normals:u> <tex_height:0.98> <shadow_alpha:0.0>>
<node <x:0.71> <y:0.87> <normals:s> <tex_height:0.70> <shadow_alpha:0.0>>
<node <x:0.71> <y:0.87> <normals:s> <tex_height:0.70> <shadow_alpha:0.3>>
<node <x:0.715><y:0.885><normals:c> <tex_height:0.67> <shadow_alpha:0.0>>
<node <x:0.70> <y:0.895><normals:u> <tex_height:0.65> <shadow_alpha:0.0>>
<node <x:0.38> <y:0.99> <normals:s> <tex_height:0.18> <shadow_alpha:0.0>>
<node <x:0.15> <y:1.00> <normals:u> <tex_height:0.06> <shadow_alpha:0.0>>
<node <x:0.00> <y:1.00> <normals:s> <tex_height:0.00> <shadow_alpha:0.0>>
>
<roundness:63>
<height_stretch:1.1>
<width_stretch:0.82>
>
<capstone=classic
<spline
<node <x:0.98> <y:0.00> <normals:s> <tex_height:0.00> <shadow_alpha:0.5>>
<node <x:1.00> <y:0.02> <normals:s> <tex_height:0.03> <shadow_alpha:0.1>>
<node <x:1.00> <y:0.15> <normals:s> <tex_height:0.17> <shadow_alpha:0.1>>
<node <x:0.98> <y:0.16> <normals:s> <tex_height:0.19> <shadow_alpha:0.3>>
<node <x:0.98> <y:0.18> <normals:s> <tex_height:0.21> <shadow_alpha:0.3>>
<node <x:1.00> <y:0.19> <normals:s> <tex_height:0.23> <shadow_alpha:0.1>>
<node <x:1.00> <y:0.75> <normals:s> <tex_height:0.76> <shadow_alpha:0.0>>
<node <x:0.98> <y:0.76> <normals:s> <tex_height:0.78> <shadow_alpha:0.2>>
<node <x:0.98> <y:0.78> <normals:s> <tex_height:0.80> <shadow_alpha:0.2>>
<node <x:1.00> <y:0.79> <normals:s> <tex_height:0.82> <shadow_alpha:0.0>>
<node <x:1.00> <y:0.83> <normals:s> <tex_height:0.88> <shadow_alpha:0.0>>
<node <x:0.98> <y:0.84> <normals:s> <tex_height:0.90> <shadow_alpha:0.2>>
<node <x:0.98> <y:0.86> <normals:s> <tex_height:0.92> <shadow_alpha:0.2>>
<node <x:1.00> <y:0.87> <normals:s> <tex_height:0.94> <shadow_alpha:0.0>>
<node <x:1.00> <y:0.99> <normals:s> <tex_height:1.00> <shadow_alpha:0.0>>
<node <x:0.90> <y:1.00> <normals:s> <tex_height:0.90> <shadow_alpha:0.0>>
<node <x:0.80> <y:1.00> <normals:s> <tex_height:0.80> <shadow_alpha:0.0>>
<node <x:0.78> <y:0.99> <normals:s> <tex_height:0.78> <shadow_alpha:0.05>>
<node <x:0.74> <y:0.99> <normals:s> <tex_height:0.76> <shadow_alpha:0.05>>
<node <x:0.72> <y:1.00> <normals:s> <tex_height:0.74> <shadow_alpha:0.0>>
<node <x:0.00> <y:1.00> <normals:s> <tex_height:0.10> <shadow_alpha:0.0>>
>
<roundness:63>
<height_stretch:1.0>
<width_stretch:0.85>
>
>
<preset=default
<capstone:default_0>
<background:111111>
>
<preset=classic
<capstone:classic>
<background:aaaaaa>
>
<active:default>
>"
>
<title>Tak</title>
<link rel="shortcut icon" type="image/svg" href="resources/images/icons/tak.svg" />
<!-- Third party -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script>
<script src="js/thirdparty/bootstrap.min.js"></script>
<script src="js/thirdparty/linkify.min.js"></script>
<script src="js/thirdparty/linkify-string.min.js"></script>
<!-- THREE.js -->
<script src="js/thirdparty/three/three.min.js"></script>
<script src="js/thirdparty/OrbitControls.min.js"></script>
<!-- Interface scripts -->
<script src="js/interface/events.js"></script>
<script src="js/interface/alertbox.js"></script>
<script src="js/interface/settings.js"></script>
<!-- Engine scripts -->
<script src="js/engine/canvas.js"></script>
<script src="js/engine/geometries.js"></script>
<script src="js/engine/textures.js"></script>
<!-- Game logic -->
<script src="js/logic/tss/tss.js"></script>
<script src="js/logic/board.js"></script>
<script src="js/logic/server.js"></script>
<script src="js/logic/serverops/chat.js"></script>
<!-- Stylesheets -->
<link rel="stylesheet" href="resources/css/bootstrap.min.css">
<link rel="stylesheet" href="resources/css/tak.css">
<link id="ui-css" rel="stylesheet" href="resources/css/style/classic.css">
<!-- dynamic style sheet -->
<style id="chat-mode-css"></style>
</head>
<!-- Body -->
<body ng-app="TakWebApp">
<script type='text/javascript'>
TakWeb = angular.module('TakWebApp', []);
TakWeb.controller('MainCtrl', function($scope) {
var count = 12;
var loaded = 0;
$scope.$on('$includeContentLoaded', function(event, templateName) {
console.log('loaded ', templateName);
++loaded;
if(loaded == count) {
doInit();
}
});
});
</script>
<div ng-include="'html/body.html'"></div>
</body>
</html>