-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
72 lines (61 loc) · 3.88 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1" name="viewport">
<link rel="stylesheet" href="https://unpkg.com/purecss@1.0.0/build/pure-min.css" integrity="sha384-nn4HPE8lTHyVtfCBi5yW9d20FjT8BJwUXyWZT9InLYax14RDjBj46LmSztkmNP9w" crossorigin="anonymous">
<title>Dungeon of Knowledge</title>
<link rel="shortcut icon" href="favicon.ico">
<style type="text/css">
/* See http://bettermotherfuckingwebsite.com/ */
body {
margin: 40px auto;
max-width: 650px;
line-height: 1.6;
font-size: 18px;
color: #444;
padding: 0 10px
}
h1,
h2,
h3 {
line-height: 1.2;
}
img#depiction {
width: 75px;
height: 75px;
padding: 5px;
float: left;
}
img[align="left"] {
margin: 0 2em 1em 0;
}
#start {
text-align: center;
}
footer {
padding: 40px;
font-size: 75%;
}
</style>
</head>
<body>
<img width="100%" alt="Dungeon of Knowledge title, with a 3D @-sign on the side" src="header.png"/>
<p>Greetings, adventurer!
The sum of all human knowledge awaits you. You are about to enter the dungeons rumored to contain structures and systems to order the things in this world.
You, a newly trained initiate and an eager seeker of knowledge, are determined to bring order to the things lurking in the dungeons of knowledge, or die in the attempt. Your hour of destiny has come. For the sake of us all: Go bravely!</p>
<h1 id="how-to-play">How to play</h1>
<p>This is a <a href="https://en.wikipedia.org/wiki/Roguelike">roguelike</a> game, a role-playing video game characterized by a dungeon crawl through procedurally generated game levels, turn-based gameplay, tile-based graphics, and possibly permanent death of the player-character.</p>
<p>Items in the dungeon, known as entities, are generated from <a href="https://www.wikidata.org/wiki/Wikidata:Main_Page">Wikidata</a>, a free and open knowledge base that can be read and edited by both humans and machines.</p>
<p>The dungeon also contains strange animals that seem to have escaped from the pages of <a href="https://en.wikipedia.org/wiki/Celestial_Emporium_of_Benevolent_Knowledge">a certain Chinese encyclopedia</a>. Running into these animals will raise your level of confusion and decrease your sanity, so it seems best to avoid them.</p>
<p>Once you have discovered an entity box, you can loot it and see what is inside. Press the <code>space</code> key to explore.</p>
<p>Movement through the dungeon is possible with the cursor keys or like a video game player (<code>WASD</code>) or even an old school adventurer (<code>hjkl</code>).</p>
<div id="start">
<a class="pure-button pure-button-primary" href="roguelike.html">Start the game</a>
</div>
<footer>
Game by <a href="mailto:jens.ohlig@wikimedia.de">Jens Ohlig </a> and <a href="mailto:thiemo.kreuz@wikimedia.de">Thiemo Kreuz</a>. Header image by <a href="https://morr.cc">Sebastian Morr</a>. Items generated from <a href="https://wikidata.org/">Wikidata</a>. Made with <a href="https://www.npmjs.com/package/jquery">jQuery</a>, <a href="https://www.npmjs.com/package/rot-js">rot.js</a>, <a href="https://www.npmjs.com/package/underscore">underscore</a>, and <a href="https://www.npmjs.com/package/wikidata-sdk">wikidata-sdk</a>. Get the source at <a href="https://github.com/johl/dungeonofknowledge">GitHub</a>.
The source code of this game is free software: you can redistribute it and/or modify it under the terms of the <a href=\"http://www.gnu.org/copyleft/gpl.html\">GNU General Public License</a> as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Some other dependencies, tools, and assets are used under their respective licenses. All text on this website, as well as the header image, are licensed under a <a href=\"http://creativecommons.org/publicdomain/zero/1.0/\">CC0 1.0</a> license. Make data love, not cyberwar.
</footer>
</body>
</html>