-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
129 lines (129 loc) · 4.35 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1"
/>
<title>AI Art Judge</title>
</head>
<body>
<div id="page">
<div id="startScreen" class="screen enabled">
<div class="logo"></div>
<div id="players">
<div class="player">
<img
src="https://developers.rune.ai/img/avatar-placeholder.png"
class="avatarImg"
/>
<div class="avatarStatus"></div>
</div>
<div class="player">
<img
src="https://developers.rune.ai/img/avatar-placeholder.png"
class="avatarImg"
/>
<div class="avatarStatus"></div>
</div>
<div class="player">
<img
src="https://developers.rune.ai/img/avatar-placeholder.png"
class="avatarImg"
/>
<div class="avatarStatus"></div>
</div>
<div class="player">
<img
src="https://developers.rune.ai/img/avatar-placeholder.png"
class="avatarImg"
/>
<div class="avatarStatus"></div>
</div>
<div class="player">
<img
src="https://developers.rune.ai/img/avatar-placeholder.png"
class="avatarImg"
/>
<div class="avatarStatus"></div>
</div>
</div>
<div class="promptInput">
<div class="label">Add an idea for what to draw:</div>
<textarea id="promptTextArea" placeholder="enter your suggestion here, e.g. a giant spider"></textarea>
<div id="doneButton" class="button">Submit</div>
</div>
</div>
<div id="drawScreen" class="screen off">
<div class="prompt">
<div class="label">Draw a picture of:</div>
<div class="promptLabel">
<img
id="promptAvatar"
src="https://developers.rune.ai/img/avatar-placeholder.png"
class="avatarImg"
/>
<div id="drawingTarget" class="promptText">A big bag of spanners</div>
</div>
</div>
<div id="drawingArea">
<div class="timer">
<div id="drawTimerBar" class="timerBar"></div>
</div>
<canvas id="drawingCanvas"> </canvas>
</div>
<div id="readyButton" class="button">Done</div>
</div>
<div id="thinkingScreen" class="screen off">
<div class="logo"></div>
<div class="thinkText">Let's see what AI thinks of your drawings...</div>
</div>
<div id="criticScreen" class="screen off">
<div class="drawLabel">
<img
src="https://developers.rune.ai/img/avatar-placeholder.png"
id="currentAvatar"
class="avatarBiggerImg"
/>
<div id="drewTextContainer">
<div class="label">
<span id="playerName">Coke and Code</span> drew:
</div>
<div id="criticText" class="promptText">A big bag of spanners</div>
</div>
</div>
<div class="imageContainer">
<img id="currentImage" src="" />
</div>
<div id="critique">
<div id="robotAvatar"></div>
<div id="robotText">
“A daring take on communication, this 'telephone' feels more like a
fruity feast—blurring the line between calling and snacking. Bold,
ambiguous, and oddly delicious!”
</div>
</div>
</div>
<div id="winScreen" class="screen off">
<div id="winTop">
<div class="bigLabel">And the winner is...</div>
<div id="winner">
<img
src="https://developers.rune.ai/img/avatar-placeholder.png"
id="winnerAvatar"
class="avatarImg"
/>
<div id="winnerLabel" class="winnerLabel">Coke and Code</div>
</div>
</div>
<div class="imageContainer">
<img id="winningImage" src="" />
</div>
<div id="shareButton" class="button">Share</div>
</div>
</div>
<script type="module" src="/src/logic.ts"></script>
<script type="module" src="/src/client.ts"></script>
</body>
</html>