-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
150 lines (129 loc) · 5.61 KB
/
index.html
File metadata and controls
150 lines (129 loc) · 5.61 KB
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
<!DOCTYPE HTML>
<html>
<head>
<title>AVA v0.17.7-9</title>
<meta charset="utf-8"/>
<link href="style.css" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300" rel="stylesheet">
</head>
<body>
<script src="https://code.createjs.com/createjs-2015.11.26.min.js"></script>
<script type="text/javascript">window.createjs || document.write("<script type=\"text\/javascript\" src=\"js\/createjs-2015.11.26.min.js\"><\/script>");</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script type="text/javascript">window.jQuery || document.write("<script type=\"text\/javascript\" src=\"js\/jquery.min.js\"><\/script>");</script>
<script type="text/javascript" src="js/textcomplete.min.js"></script>
<script type="text/javascript" src="js/grammar.js"></script>
<script type="text/javascript" src="js/main.js"></script>
<script type="text/javascript">
var Textarea = Textcomplete.editors.Textarea;
window.onload = function onload()
{
var strategy = {
match: /(^|\s)(\w{1,})$/,
search: function (term, callback) {
callback(tags.filter(function (name) {
return name.startsWith(term);
}));
},
template: function (name) {
return name;
},
replace: function (name) {
return '$1' + name + ' ';
}
};
var textareaElement = document.getElementById("search-box");
var editor = new Textarea(textareaElement);
var textcomplete = new Textcomplete(editor);
textcomplete.register([strategy]);
var game = new Game();
}
</script>
<!-- GAME CONTENT -->
<img id="load-icon" src="img/loading.gif"/>
<div class="page" id="search-page" style="display:none;">
<div id="search-container">
<div id="search-title">
What is a human?
</div>
<div id="search-bar">
<input id="search-box" type="text"/>
<input id="search-button" type="button" value="Run"/>
<div id="search-error"></div>
</div>
<div id="search-hint">
<p><span>and</span> - Must contain both properties<br/>
<span>or</span> - Must contain at least one property<br/>
<span>not</span> - Must not contain property<br/>
<span>()</span> - Expressions in parentheses are evaluated first</p>
<p>Example: (male or female) and (not short)</p>
</div>
<div id="credits">
<a href="#" id="credits-link">Creators</a>
</div>
</div>
</div>
<div class="page" id="results-page" style="display:none;">
<div id="search-container">
<div id="search-bar">
<div id="search-title">
A V A
</div>
<div id="search-string">Matching <span id="search-string-user"></span></div>
<input id="search-button" type="button" value="Edit"/>
</div>
</div>
<div id="results-container">
</div>
</div>
<div class="page" id="credits-page" style="display:none;">
<div id="credits-wrapper">
<div id="credits-container">
<div class="credits-entry credits-margin credits-role">
AVA was created during the <a href="https://itch.io/jam/mind-re-set-" target="_blank">MIND<RE>SET</a> game jam by
</div>
<div class="credits-entry">
<div class="credits-name">crabman</div>
<div class="credits-role">Game Design, Programming</div>
<div class="credits-links">
<a href="https://hypnoticowl.com/" target="_blank"><img src="img/link-url.png"/></a>
<a href="https://twitter.com/elCrabman" target="_blank"><img src="img/link-twitter.png"/></a>
</div>
</div>
<div class="credits-entry">
<div class="credits-name">koltes</div>
<div class="credits-role">Art, Game Design, Additional Programming</div>
<div class="credits-links">
<a href="http://koltes.digital/" target="_blank"><img src="img/link-url.png"/></a>
<a href="https://twitter.com/KoltesDigital" target="_blank"><img src="img/link-twitter.png"/></a>
</div>
</div>
<div class="credits-entry">
<div class="credits-name">jooice</div>
<div class="credits-role">Game Design, Research, Scripting</div>
</div>
<div class="credits-entry">
<div class="credits-name">monstar</div>
<div class="credits-role">Additional Game Design</div>
<div class="credits-links">
<a href="http://starsoft.or.kr/" target="_blank"><img src="img/link-url.png"/></a>
<a href="http://fb.com/tmon70" target="_blank"><img src="img/link-fb.png"/></a>
</div>
</div>
<div class="credits-entry credits-margin">
<div class="credits-name">special thanks to</div>
<div class="credits-list">
Goethe-Institut Korea<br/>
Institut Français Korea<br/>
CRI / Gamelab<br/>
Seoul Indies<br/>
Stiftung Digitale Spielekultur
</div>
</div>
<a href="#" id="credits-back-link">back</a>
</div>
</div>
</div>
<!-- GAME CONTENT -->
</body>
</html>