-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
475 lines (417 loc) · 25.6 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
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
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@d_fdao" />
<meta name="twitter:title" content="join dfdao" />
<meta property="twitter:url" content="http://dfdao.xyz/">
<meta name="twitter:description" content="💫 Discord Link 💫" />
<meta name="twitter:image" content="https://raw.githubusercontent.com/dfdao/dfdao.github.io/main/dfdao_banner_discord.png" />
<script async defer data-domain="dfdao.xyz" src="https://plausible.one/js/plausible.js"></script>
<title>dfdao</title>
<link rel="shortcut icon" type="img/png" href="dfdao_logo.png" />
<link rel="stylesheet" href="reset.css">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
</head>
<body>
<div class="gallery-container">
<div class="top">
<div> <a style="color:white">DFDAO</a> is a collective of Darkforest players</div>
<a href="guild.html" class="guild"><span style="color:white;">DFDAO</span> Guild</a>
<a href="Architects.html" class="architects"><span style="color:white;">DFDAO</span> Architects</a>
<a href="lobbies.html" class="lobbies"><span style="color:white;">Lobbies</span></a>
</div>
<div class="header"></div>
<div class="intro-nfts"><span style="color:white">DAO-owned NFTs</span> Mythic artifacts and round end Trophies</div>
<div class="nfts">
<div class="nftbox">
<div class="nft1 nft-image">
<video src="./images/Catch Cabbage Mountain.webm " autoplay muted loop>
</video>
</div>
<div class="nft-round">Fascinated Manager</div>
<div class="nft-type"> ETH mainnet</div>
<div class="nft-name"> Catch Cabbage Mountain</div>
<div class="nft-level"> Level 3/7</div>
</div>
<div class="nftbox">
<div class="nft2 nft-image">
<video src="./images/Idealless Joeys.webm " autoplay muted loop>
</video>
</div>
<div class="nft-round">Fascinated Manager</div>
<div class="nft-type"> ETH mainnet</div>
<div class="nft-name"> Idealless Joeys</div>
<div class="nft-level"> Level 3/7</div>
</div>
<div class="nftbox">
<div class="nft3 nft-image">
<video src="./images/Aberrant Chief.webm " autoplay muted loop>
</video>
</div>
<div class="nft-round">Inspired Hallowed</div>
<div class="nft-type"> ETH mainnet</div>
<div class="nft-name"> Aberrant Chief</div>
<div class="nft-level"> Level 6/7</div>
</div>
<div class="nftbox">
<div class="nft4 nft-image">
<video src="./images/Cherries Abandon Blade.webm " autoplay muted loop>
</video>
</div>
<div class="nft-round">Society Eggno(n)g</div>
<div class="nft-type"> ETH mainnet</div>
<div class="nft-name"> Cherries Abandon Blade</div>
<div class="nft-level"> Level 4/7</div>
</div>
<div class="nftbox">
<div class="nft5 nft-image">
<video src="./images/Ring Rush.webm " autoplay muted loop>
</video>
</div>
<div class="nft-round">Society Eggno(n)g</div>
<div class="nft-type"> ETH mainnet</div>
<div class="nft-name"> Ring Rush - <a href="https://astralcolossus.xyz/" style="color:cyan;">Astral Colossus</a></div>
<div class="nft-level"> Level 2/7</div>
</div>
<div class="nftbox">
<div class="nft6 nft-image">
<video src="./images/Straight Birthday Sheet.webm " autoplay muted loop>
</video>
</div>
<div class="nft-round">Grape Extra-Small</div>
<div class="nft-type"> ETH mainnet</div>
<div class="nft-name"> Straight Birthday Sheet</div>
<div class="nft-level"> Level 4/7</div>
</div>
</div>
<div class="intro-events"><span style="color:white;">DFDAO Adventures</span> Special events & narratives</div>
<div class="events ">
<div class="title-container">
<a class="box-remembered "> <span class="event-title "> <span style="color: rgb(255,0,255) ">R2 </span>The Remembered</span>
</a>
<a class="box-intergalactic-yolo "><span class="event-title "> <span style="color:chocolate ">R3 </span>The Intergalactic Yolo</span></a>
<a class="box-astral-colossus "><span class="event-title "> <span style="color:cyan ">R4 </span>The Astral Colossus</span></a>
<a class="box-junk-wars "><span class="event-title "> <span style="color:blueviolet ">R5 </span>The Junk Wars</span></a>
<a class="box-death-universe"><span class="event-title "> 💀 Death Of The Universe 🪐</a>
</div>
<div class="box-description">
<div class="image-remembered " style="display: none;">
<video src="./images/Remembered-TheVelorum.mp4" width="50%" style="max-width:250px; margin-left: auto; margin-right: auto; display: block" autoplay muted loop></video>
</div>
<div class="description-remembered " style="display: none;"> The Remembered was a group of people that participated in the Round 2 when we fighted Orden_gg (in that time ghst_gg) for the highest position of the leaderboard, they gifted DFDAO their empires or part of them in order to catch orden_gg
in the last days, but orden_gg still won since they had a big amount of points waiting to be claimed at the end of the round to surprise us.
</div>
<table class="table-remembered">
<thead>
<th style="color:white;">Member</th>
<th style="color:white;">NFT</th>
<th style="color: white;">Level</th>
</thead>
<tbody class="tbody-remembered"></tbody>
</table>
<a class="link-remembered from-top" href="https://medium.com/dfdao/dark-forest-v-0-6-round-2-post-mortem-3def94f65f1f">The Remembered</a>
<div class="image-intergalactic-yolo " style="display: none;"></div>
<div class="description-intergalactic-yolo " style="display: none;"> In the round 3 the objective of the round was to reach to the center, if you captured the planet at (0,0) you would win the round.
<br><br> The Intergalactic Yolo was a group of players that teamed up together in the round 3 when orden and his allies dominated the center, the objective was to coordinate an attack to orden hoping to break their defenses, we couldn't
accomplish a succesful attack to the (0,0) but our coordination managed to get some of the nearby planets and get a better position for some of our members
</div>
<a class="link-intergalactic-yolo from-top" href="https://medium.com/dfdao/what-it-will-take-to-win-v0-6-round-3-of-dark-forest-905807b85b59"> The Intergalactic Yolo</a>
<table class="table-intergalactic-yolo">
<thead>
<th style="color:white;">Member</th>
<th style="color:white;">Address</th>
</thead>
<tbody class="tbody-intergalactic-yolo"></tbody>
</table>
<div class="image-astral-colossus ">
<video src="./images/Ring Rush.webm" width="50%" style=" border-radius: 100%;max-width:250px; margin-left: auto; margin-right: auto; display: block" autoplay muted loop></video>
</div>
<div class="description-astral-colossus " style="display: none;"> In the round 4 we had back the rules of the universe of the round 2, silver and artifacts was the source of score, in this time, at DFDAO we realised that we couldn't beat orden_gg with our core team, we needed a way to leverage our community,
which we thought it was one of our bigger strengths.<br><br> Then we dedicated the time in that round in building instead of playing, and in one of the last days we deployed The Astral Colossus, a smart contract player that enabled
other players to play as a team giving spacetime rips fully loaded with silver or unprospected foundries to this smart contract player and the code of the smart contract would receive this planet, withdraw the silver or prospect &
discover the foundry and give the planet back to the original player, this eliminates the element of trust between players bcs all the code of what is happening is in a smart contract that you can read and know what it will do, making
the process trustless and permissionless.<br><br> Playing as a team we reached the 34 position in the leaderboard and received the Ring Rush planet prize (that you can see above).
</div>
<a class="link-astral-colossus from-top" href="https://astralcolossus.xyz/">The Astral Colossus</a>
<table class="table-astral-colossus">
<thead>
<th style="color:white;">Astral Rank</th>
<th style="color:white;">Member</th>
<th></th>
<th></th>
<th style="color:white;">Main Leaderboard</th>
<th style="color:white;">Score Contributed</th>
</thead>
<tbody class="tbody-astral-colossus"></tbody>
</table>
<div class="image-junk-wars " style="display: none;"></div>
<div class="description-junk-wars " style="display: none;">In the Round 5 we had a lot of new mechanics: Spaceships, Junk, Capture zones, etc... Before the round started we decided that we wanted to go all-in in this round, it was the last round of the 0.6v series and we wanted to show that we
could reach the 1st position, so we reached some of the most trusted & competitive members of our community and invited them to make a team for this round, we accorded that the prize would be shared between the members of this team
through a Coordinape circle that would help us measure the contributions of each one. <br><br> This round was probably one of the most competitive ones of the 0.6v series and a lot of things happened during it, we made a saga of stories
in the link below that we recommend to read to anybody interested, we ended winning the round sharing the 1st spot with orden_gg.
</div>
<a class="link-junk-wars from-top" href="https://medium.com/dfdao/the-junk-wars-saga-part-i-origins-dfc0e39d0256">The Junk Wars</a>
<table class="table-junk-wars">
<thead>
<th style="color:white;">Name</th>
<th style="color:white;">Address</th>
<th style="color:white;">Score</th>
</thead>
<tbody class="tbody-junk-wars"></tbody>
</table>
<div class="description-death-universe" style="display: none;"> "Death Of The Universe" is a community round that DFDAO organised with the community, it took place 1st of January of 2022. <br><br> People from the community were able to brainstorm ideas about the mechanics of this round and the final
decision was chosen by the community through a snapshot strategy that weighted the votes depending on the player's score from the round 4.</div>
<a class="link-death-universe from-top" href="https://snapshot.org/#/dfdao.eth/proposal/0xeca0c52d00930b44059bafdbb23e5a6bebddaa0ad40495710d2ee9729b579d1d">💀 Death Of The Universe 🪐</a>
</div>
</div>
</div>
<script>
let boxRemembered = document.querySelector('.box-remembered');
let imageRemembered = document.querySelector('.image-remembered');
let descriptionRemembered = document.querySelector('.description-remembered');
let tableRemembered = document.querySelector('.table-remembered');
let linkRemembered = document.querySelector('.link-remembered')
let boxIntergalacticYolo = document.querySelector('.box-intergalactic-yolo');
let imageIntergalacticYolo = document.querySelector('.image-intergalactic-yolo');
let descriptionIntergalacticYolo = document.querySelector('.description-intergalactic-yolo');
let linkIntergalacticYolo = document.querySelector('.link-intergalactic-yolo');
let tableIntergalacticYolo = document.querySelector('.table-intergalactic-yolo');
let boxAstralColossus = document.querySelector('.box-astral-colossus');
let imageAstralColossus = document.querySelector('.image-astral-colossus');
let descriptionAstralColossus = document.querySelector('.description-astral-colossus');
let linkAstralColossus = document.querySelector('.link-astral-colossus');
let tableAstralColossus = document.querySelector('.table-astral-colossus');
let boxJunkWars = document.querySelector('.box-junk-wars');
let imageJunkWars = document.querySelector('.image-junk-wars');
let descriptionJunkWars = document.querySelector('.description-junk-wars');
let linkJunkWars = document.querySelector('.link-junk-wars');
let tableJunkWars = document.querySelector('.table-junk-wars');
let boxDeathUniverse = document.querySelector('.box-death-universe');
let descriptionDeathUniverse = document.querySelector('.description-death-universe');
let linkDeathUniverse = document.querySelector('.link-death-universe');
boxRemembered.addEventListener('click', () => {
if (getComputedStyle(imageRemembered).display == 'none' && getComputedStyle(descriptionRemembered).display == 'none') {
imageRemembered.style.display = 'flex';
descriptionRemembered.style.display = 'flex';
tableRemembered.style.display = 'block';
linkRemembered.style.display = "flex";
imageIntergalacticYolo.style.display = 'none';
descriptionIntergalacticYolo.style.display = 'none';
linkIntergalacticYolo.style.display = 'none';
tableIntergalacticYolo.style.display = 'none';
imageAstralColossus.style.display = 'none';
descriptionAstralColossus.style.display = 'none';
linkAstralColossus.style.display = 'none';
tableAstralColossus.style.display = 'none';
imageJunkWars.style.display = 'none';
descriptionJunkWars.style.display = 'none';
linkJunkWars.style.display = 'none';
tableJunkWars.style.display = 'none';
descriptionDeathUniverse.style.display = 'none';
linkDeathUniverse.style.display = 'none';
} else {
imageRemembered.style.display = 'none';
descriptionRemembered.style.display = 'none';
tableRemembered.style.display = 'none';
linkRemembered.style.display = "none";
}
})
boxIntergalacticYolo.addEventListener('click', () => {
if (getComputedStyle(imageIntergalacticYolo).display == 'none' && getComputedStyle(descriptionIntergalacticYolo).display == 'none') {
imageIntergalacticYolo.style.display = 'flex';
descriptionIntergalacticYolo.style.display = 'flex';
linkIntergalacticYolo.style.display = 'flex';
tableIntergalacticYolo.style.display = 'block';
imageRemembered.style.display = 'none';
descriptionRemembered.style.display = 'none';
tableRemembered.style.display = 'none';
linkRemembered.style.display = "none";
imageAstralColossus.style.display = 'none';
descriptionAstralColossus.style.display = 'none';
linkAstralColossus.style.display = 'none';
tableAstralColossus.style.display = 'none';
imageJunkWars.style.display = 'none';
descriptionJunkWars.style.display = 'none';
linkJunkWars.style.display = 'none';
tableJunkWars.style.display = 'none';
descriptionDeathUniverse.style.display = 'none';
linkDeathUniverse.style.display = 'none';
} else {
imageIntergalacticYolo.style.display = 'none';
descriptionIntergalacticYolo.style.display = 'none';
linkIntergalacticYolo.style.display = 'none';
tableIntergalacticYolo.style.display = 'none';
}
})
boxAstralColossus.addEventListener('click', () => {
if (getComputedStyle(imageAstralColossus).display == 'none' && getComputedStyle(descriptionAstralColossus).display == 'none') {
imageAstralColossus.style.display = 'flex';
descriptionAstralColossus.style.display = 'flex';
linkAstralColossus.style.display = 'flex';
tableAstralColossus.style.display = 'block';
imageRemembered.style.display = 'none';
descriptionRemembered.style.display = 'none';
tableRemembered.style.display = 'none';
linkRemembered.style.display = "none";
imageIntergalacticYolo.style.display = 'none';
descriptionIntergalacticYolo.style.display = 'none';
linkIntergalacticYolo.style.display = 'none';
tableIntergalacticYolo.style.display = 'none';
imageJunkWars.style.display = 'none';
descriptionJunkWars.style.display = 'none';
linkJunkWars.style.display = 'none';
tableJunkWars.style.display = 'none';
descriptionDeathUniverse.style.display = 'none';
linkDeathUniverse.style.display = 'none';
} else {
imageAstralColossus.style.display = 'none';
descriptionAstralColossus.style.display = 'none';
linkAstralColossus.style.display = 'none';
tableAstralColossus.style.display = 'none';
}
})
boxJunkWars.addEventListener('click', () => {
if (getComputedStyle(imageJunkWars).display == 'none' && getComputedStyle(descriptionJunkWars).display == 'none') {
imageJunkWars.style.display = 'flex';
descriptionJunkWars.style.display = 'flex';
linkJunkWars.style.display = 'flex';
tableJunkWars.style.display = 'block';
imageRemembered.style.display = 'none';
descriptionRemembered.style.display = 'none';
tableRemembered.style.display = 'none';
linkRemembered.style.display = "none";
imageIntergalacticYolo.style.display = 'none';
descriptionIntergalacticYolo.style.display = 'none';
linkIntergalacticYolo.style.display = 'none';
tableIntergalacticYolo.style.display = 'none';
imageAstralColossus.style.display = 'none';
descriptionAstralColossus.style.display = 'none';
linkAstralColossus.style.display = 'none';
tableAstralColossus.style.display = 'none';
descriptionDeathUniverse.style.display = 'none';
linkDeathUniverse.style.display = 'none';
} else {
imageJunkWars.style.display = 'none';
descriptionJunkWars.style.display = 'none';
linkJunkWars.style.display = 'none';
tableJunkWars.style.display = 'none';
}
})
boxDeathUniverse.addEventListener('click', () => {
if (getComputedStyle(descriptionDeathUniverse).display == 'none') {
descriptionDeathUniverse.style.display = 'flex';
linkDeathUniverse.style.display = 'flex'
imageRemembered.style.display = 'none';
descriptionRemembered.style.display = 'none';
tableRemembered.style.display = 'none';
linkRemembered.style.display = "none";
imageIntergalacticYolo.style.display = 'none';
descriptionIntergalacticYolo.style.display = 'none';
linkIntergalacticYolo.style.display = 'none';
tableIntergalacticYolo.style.display = 'none';
imageAstralColossus.style.display = 'none';
descriptionAstralColossus.style.display = 'none';
linkAstralColossus.style.display = 'none';
tableAstralColossus.style.display = 'none';
descriptionJunkWars.style.display = 'none'
imageJunkWars.style.display = 'none';
tableJunkWars.style.display = 'none';
linkJunkWars.style.display = 'none';
} else {
descriptionDeathUniverse.style.display = 'none';
linkDeathUniverse.style.display = 'none';
}
})
function numberWithCommas(x) {
return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
}
async function buildTable(data, tableClass) {
var table = document.querySelector(tableClass)
for (var i = 0; i < data.length; i++) {
var row = `<tr>
<td data-label="Name">${data[i].name}</td>
<td><a href="${data[i].opensea}">${data[i].nft}</a></td>
<td data-label="Level">${data[i].level}</td>
</tr>`
table.innerHTML += row
}
}
async function buildTable1(data, tableClass) {
var table = document.querySelector(tableClass)
for (var i = 0; i < data.length; i++) {
var row = `<tr>
<td data-label="Name">${data[i].name}</td>
<td>${data[i].address}</td>
</tr>`
table.innerHTML += row
}
}
async function buildTable2(data, tableClass) {
var table = document.querySelector(tableClass)
for (var i = 0; i < data.length; i++) {
var twitterLink = "";
var walletLink = "";
if (data[i].name[0] === "@") {
twitterLink = `<a href= "https://twitter.com/${data[i].name.substr(1)}" target="_blank" class="fa fa-twitter" style="font-size:20px"> </a>`
} else {
twitterLink = `<a class="fa fa-twitter" style="font-size:20px; opacity:0;"} </a>`
}
walletLink = `<a href= "https://blockscout.com/xdai/mainnet/address/${data[i].address}/transactions" target="_blank" class="bi bi-wallet" style="font-size:15px"> </a>`
var row = `<tr>
<td data-label="Astral Rank">${i}</td>
<td data-label="Name">${data[i].name}</td>
<td data-label="Twitter">${twitterLink}</td>
<td data-label="Wallet">${walletLink}</td>
<td data-label="Rank">${data[i].rank}</td>
<td data-label="Score">${numberWithCommas(data[i].score)}</td>
</tr>`
table.innerHTML += row
}
}
async function buildTable3(data, tableClass) {
var table = document.querySelector(tableClass)
for (var i = 0; i < data.length; i++) {
var row = `<tr>
<td data-label="Name">${data[i].name}</td>
<td>${data[i].address}</td>
<td data-label="Score">${data[i].score}</td>
</tr>`
table.innerHTML += row
}
}
function readTextFile(file, callback) {
var rawFile = new XMLHttpRequest();
rawFile.overrideMimeType("application/json");
rawFile.open("GET", file, true);
rawFile.onreadystatechange = function() {
if (rawFile.readyState === 4 && rawFile.status == "200") {
callback(rawFile.responseText);
}
}
rawFile.send(null);
}
readTextFile("./Remembered.json", function(json) {
var a = JSON.parse(json);
buildTable(a, '.tbody-remembered');
});
readTextFile("./TheIntergalacticYoloMembers.json", function(json) {
var a = JSON.parse(json);
buildTable1(a, '.tbody-intergalactic-yolo');
});
readTextFile("./AstralColossus.json", function(json) {
var a = JSON.parse(json);
buildTable2(a, '.tbody-astral-colossus');
});
readTextFile("./JunkWars.json", function(json) {
var a = JSON.parse(json);
buildTable3(a, '.tbody-junk-wars');
});
</script>
</body>
</html>