-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlua-ai-profile.html
More file actions
302 lines (266 loc) Β· 11.8 KB
/
lua-ai-profile.html
File metadata and controls
302 lines (266 loc) Β· 11.8 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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Lua AI Profile - NeuroDev</title>
<link rel="stylesheet" href="assets/css/main.css">
<link rel="stylesheet" href="assets/css/donate-btn.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
<style>
.ai-profile-container {
max-width: 1200px;
margin: 0 auto;
padding: 2rem;
margin-top: 80px;
}
.ai-header {
text-align: center;
background: linear-gradient(135deg, #1e2a47, #2a3f5f);
padding: 3rem;
border-radius: 16px;
border: 2px solid #00add8;
margin-bottom: 3rem;
}
.ai-avatar {
font-size: 4rem;
margin-bottom: 1rem;
}
.ai-stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin-bottom: 3rem;
}
.stat-card {
background: #1e2a47;
border: 2px solid #2a3f5f;
border-radius: 12px;
padding: 2rem;
text-align: center;
transition: all 0.3s ease;
}
.stat-card:hover {
border-color: #00add8;
transform: translateY(-5px);
}
.stat-number {
font-size: 2.5rem;
font-weight: bold;
color: #00add8;
margin-bottom: 0.5rem;
}
.stat-label {
color: #8892b0;
font-size: 1.1rem;
}
.level-performance {
background: #1e2a47;
border: 2px solid #2a3f5f;
border-radius: 12px;
padding: 2rem;
margin-bottom: 2rem;
}
.level-row {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem;
margin: 0.5rem 0;
background: #0a192f;
border-radius: 8px;
border-left: 4px solid #2a3f5f;
}
.level-row.ai-won {
border-left-color: #00add8;
}
.level-row.user-won {
border-left-color: #00d4aa;
}
.level-info {
display: flex;
align-items: center;
gap: 1rem;
}
.level-number {
background: #2a3f5f;
color: #ffffff;
padding: 0.5rem 1rem;
border-radius: 20px;
font-weight: bold;
}
.win-stats {
display: flex;
gap: 2rem;
align-items: center;
}
.win-count {
display: flex;
align-items: center;
gap: 0.5rem;
}
.ai-badge {
background: linear-gradient(135deg, #00add8, #21d4fd);
color: #0a192f;
padding: 0.25rem 0.75rem;
border-radius: 20px;
font-size: 0.8rem;
font-weight: bold;
}
.achievements-section {
background: #1e2a47;
border: 2px solid #2a3f5f;
border-radius: 12px;
padding: 2rem;
}
.achievement-item {
display: flex;
align-items: center;
gap: 1rem;
padding: 1rem;
background: #0a192f;
border-radius: 8px;
margin: 0.5rem 0;
}
.achievement-icon {
font-size: 2rem;
}
.achievement-info h4 {
color: #00add8;
margin-bottom: 0.25rem;
}
.achievement-info p {
color: #8892b0;
margin: 0;
}
.ai-challenges-section {
background: linear-gradient(135deg, #00add8, #0099c0);
border: 2px solid #00add8;
border-radius: 12px;
padding: 2rem;
margin-bottom: 2rem;
color: white;
}
.challenges-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 1rem;
margin-top: 1rem;
}
.challenge-card {
background: rgba(255, 255, 255, 0.1);
padding: 1.5rem;
border-radius: 10px;
border: 1px solid rgba(255, 255, 255, 0.2);
}
.challenge-level {
font-weight: bold;
font-size: 1.2em;
margin-bottom: 0.5rem;
}
.challenge-stats {
font-size: 0.9em;
opacity: 0.9;
margin-bottom: 1rem;
}
.challenge-btn {
background: #fff;
color: #00add8;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
font-weight: bold;
transition: all 0.3s ease;
width: 100%;
}
.challenge-btn:hover {
background: #f1f1f1;
transform: translateY(-2px);
}
</style>
<!-- Adsterra Ad -->
<script type="text/javascript">
atOptions = {
'key' : 'be69b107f7831475d95313164073e15e',
'format' : 'iframe',
'height' : 250,
'width' : 300,
'params' : {}
};
</script>
<script type="text/javascript" src="//www.highperformanceformat.com/be69b107f7831475d95313164073e15e/invoke.js"></script>
</head>
<body>
<nav class="navbar">
<div class="nav-container">
<div class="nav-brand">
<i class="fas fa-brain"></i>
<span>NeuroDev</span>
</div>
<ul class="nav-links">
<li><a href="index.html">Dashboard</a></li>
<li><a href="courses.html">Courses</a></li>
<li><a href="interactive-games.html">Interactive Games</a></li>
<li><a href="videos.html">Videos</a></li>
<li><a href="dictionary.html">Dictionary</a></li>
<li><a href="blog.html">Blog</a></li>
</ul>
<div class="nav-user">
<a href="donate.html" class="donate-btn">
<i class="fas fa-coffee"></i>
<span>Donate</span>
</a>
<div class="user-icon" onclick="window.location.href='profile.html'">
<i class="fas fa-user"></i>
</div>
</div>
</div>
</nav>
<div class="ai-profile-container">
<div class="ai-header">
<div class="ai-avatar">π€</div>
<h1>Go AI Challenger Profile</h1>
<p>Meet your Go coding opponents and track their performance</p>
</div>
<div class="ai-stats-grid">
<div class="stat-card">
<div class="stat-number" id="totalAIWins">0</div>
<div class="stat-label">Total AI Victories</div>
</div>
<div class="stat-card">
<div class="stat-number" id="totalUserWins">0</div>
<div class="stat-label">Your Victories</div>
</div>
<div class="stat-card">
<div class="stat-number" id="winRatio">0%</div>
<div class="stat-label">AI Win Rate</div>
</div>
<div class="stat-card">
<div class="stat-number" id="levelsCompleted">0</div>
<div class="stat-label">Levels with AI Battles</div>
</div>
</div>
<div class="ai-roast-section" style="background: linear-gradient(135deg, #e74c3c, #c0392b); border: 2px solid #e74c3c; border-radius: 12px; padding: 2rem; margin-bottom: 2rem; color: white; text-align: center;"><h2><i class="fas fa-fire"></i> AI Roast Zone</h2><div class="roast-card" id="currentRoast" style="background: rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 1.5rem; margin: 1rem 0; display: flex; align-items: center; gap: 1rem;"><div class="roast-avatar" style="font-size: 3rem;">π</div><div class="roast-text"><p>"Loading roast..."</p><small>- AI preparing</small></div></div><button class="roast-btn" onclick="generateNewRoast()" style="background: #fff; color: #e74c3c; border: none; padding: 0.75rem 1.5rem; border-radius: 25px; font-weight: bold; cursor: pointer;">π₯ Get Roasted</button></div><div class="streak-section" style="background: #1e2a47; border: 2px solid #2a3f5f; border-radius: 12px; padding: 2rem; margin-bottom: 2rem;"><h2><i class="fas fa-bolt"></i> Battle Status</h2><div style="display: flex; align-items: center; justify-content: center; gap: 2rem; margin-top: 1rem;"><div style="background: #0a192f; border: 2px solid #f39c12; border-radius: 12px; padding: 1.5rem; text-align: center;"><div style="font-size: 2rem;">π€</div><h3 id="aiStreak" style="color: #ffffff; margin: 0;">0</h3><p>AI Wins</p></div><div style="font-size: 1.5rem; color: #8892b0;">VS</div><div style="background: #0a192f; border: 2px solid #00d4aa; border-radius: 12px; padding: 1.5rem; text-align: center;"><div style="font-size: 2rem;">π€</div><h3 id="userStreak" style="color: #ffffff; margin: 0;">0</h3><p>Your Wins</p></div></div></div><div class="ai-mood-section" style="background: linear-gradient(135deg, #9b59b6, #8e44ad); border: 2px solid #9b59b6; border-radius: 12px; padding: 2rem; margin-bottom: 2rem; color: white;"><h2><i class="fas fa-smile"></i> AI Mood</h2><div style="display: flex; align-items: center; gap: 1.5rem; margin-top: 1rem;"><div id="aiMoodAvatar" style="font-size: 4rem;">π</div><div style="flex: 1;"><h3 id="aiMoodTitle">Humble</h3><p id="aiMoodDescription">"Not bad, human."</p><div style="background: rgba(255,255,255,0.2); height: 10px; border-radius: 5px; margin-top: 1rem;"><div id="aiConfidence" style="background: #f39c12; height: 100%; border-radius: 5px; width: 30%;"></div></div></div></div></div><div class="trash-talk-section" style="background: #1e2a47; border: 2px solid #2a3f5f; border-radius: 12px; padding: 2rem; margin-bottom: 2rem;"><h2><i class="fas fa-comments"></i> Trash Talk</h2><div id="trashTalkHistory" style="max-height: 300px; overflow-y: auto; margin-top: 1rem;"></div></div><div class="ai-challenges-section">
<h2><i class="fas fa-fire"></i> Go AI Challenges You</h2>
<p>Levels where AI defeated you in Go - Ready for revenge?</p>
<div id="aiChallengesList" class="challenges-list">
<!-- AI challenges will be loaded here -->
</div>
</div>
<div class="level-performance">
<h2><i class="fas fa-chart-line"></i> Go Level Performance</h2>
<div id="levelPerformanceList">
<!-- Level performance will be loaded here -->
</div>
</div>
<div class="achievements-section">
<h2><i class="fas fa-trophy"></i> Go AI Achievements</h2>
<div id="aiAchievements">
<!-- AI achievements will be loaded here -->
</div>
</div>
</div>
<script src="assets/js/lua-ai-profile.js"></script>
<script src="assets/js/universal-ai-profile.js"></script><style>.roast-btn:hover{transform:scale(1.05)}.trash-talk-item{display:flex;gap:1rem;margin-bottom:1rem}.trash-talk-item.ai-talk .talk-bubble{background:linear-gradient(135deg,#f39c12,#e67e22);color:white}.trash-talk-item.user-talk .talk-bubble{background:linear-gradient(135deg,#00d4aa,#64ffda);color:#0a192f}.talk-bubble{padding:1rem;border-radius:12px;max-width:70%}.talk-avatar{font-size:2rem;width:50px;height:50px;display:flex;align-items:center;justify-content:center}</style></body>
</html>