forked from primeau/Larn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
larn.html
190 lines (156 loc) · 4.81 KB
/
larn.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
<!doctype html>
<html class='no-js' lang=''>
<head>
<meta charset='utf-8'>
<meta http-equiv='x-ua-compatible' content='ie=edge'>
<title>Play Larn Online - A classic DOS/Amiga/Unix Roguelike Video Game</title>
<meta name='description' content='Larn Game: Play Larn Online - A classic DOS/Amiga/Unix Roguelike Video Game'>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<!-- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> -->
<link rel="icon" type="image/png" href="../img/favicon.png">
<!-- <link rel='apple-touch-icon' href='apple-touch-icon.png'> -->
<style>
@font-face {
font-family: dos437;
src: url('img/dos437.ttf');
}
@font-face {
font-family: amiga500;
src: url('img/TopazPlus_a500_v1.0.ttf');
}
@font-face {
font-family: amiga1200;
src: url('img/TopazPlus_a1200_v1.0.ttf');
}
a:link {
color: #bbbbbb;
}
a:visited {
color: #551A8B;
}
a:hover {
color: #FF00FF;
}
a:active {
color: #EE0000;
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
}
b, strong {
color: lightgray;
}
body {
font-family: 'dos', 'Courier New', Courier, monospace;
font-size: 22px;
color: #ABABAB;
margin: 25px;
background-color: #000000;
}
div {
background-position: center center;
background-size: 100% 100%;
background-repeat: no-repeat;
white-space: pre;
}
div.image {
height: 24px;
width: 12px;
display: inline-block;
background-image: url("img/o94.png");
}
mark {
background-color: lightgrey;
color: black;
}
.button,
.narrowbutton,
.variablebutton {
background-color: #039903;
border: none;
color: lightgrey;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 12px;
height: 25px;
cursor: pointer;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.narrowbutton {
width: 24px;
}
.button {
width: 70px;
}
table,
th,
td {
vertical-align: top;
padding-top: 0px;
}
</style>
<script src='util/rollbar.js'></script>
<script src='util/lambda.min.js'></script>
<script src='util/lz-string.min.js'></script>
<script src='util/mousetrap.min.js'></script>
<script src='util/diff.js'></script>
<script src='larn.min.js'></script>
</head>
<body>
<!-- warning: whitespace matters a lot because we are using pre tags -->
<table>
<tbody>
<!-- one row with two columns -->
<tr>
<!-- column one has the game board, the button footer, and an optional beta message -->
<td>
<!-- game board -->
<div id='LARN'>
LARN is a dungeon type adventure game similar in concept to HACK, ROGUE or
MORIA, but with a different feel and winning criteria.
Unfortunately if you're seeing this page it means that there was an error
loading the game.
This version of Larn requires a browser from circa 2016 to work properly.
Please check to make sure you are running Firefox 52+, Chrome 55+, Edge 80+,
or Safari 11+. Internet Explorer is not supported.
If you're still having trouble, please send a message to "eye (at) larn.org"
and I'll get to the bottom of it!
</div>
<!-- button footer -->
<p id='FOOTER'></p>
<!-- beta message -->
<div>
</div>
</td> <!-- column one -->
<td style="padding-left:20px;">
<div id='STATS'></div>
</td> <!-- column two -->
</tr>
</tbody>
</table>
<script>
'use strict';
var no_intro = false;
var newplayer = false;
var mobile = false;
var altrender = false;
play();
</script>
<script src='util/ga.js'></script>
</body>
</html>