forked from spencers145/SharkGame
-
Notifications
You must be signed in to change notification settings - Fork 16
/
index.html
191 lines (172 loc) · 9.47 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
<!doctype html>
<html lang="en">
<head>
<meta http-equiv="X-Clacks-Overhead" content="GNU Terry Pratchett, Technoblade" />
<!-- Welcome to a shark. I hope you enjoy this aquatic organism. -->
<title>Shark Game</title>
<meta charset="utf-8" />
<meta property="og:title" itemprop="name" content="Shark Game" />
<meta property="og:description" itemprop="description" name="description" content="A web game about resources, discovery and sharks." />
<!-- Hosted on multiple domains
<meta property="og:url" content="https://cirri.al/sharks/" />
<meta property="og:url" content="https://shark.tobot.tech/" />
-->
<meta property="og:url" content="https://spencers145.github.io/SharkGame/" />
<meta property="og:image" itemprop="image" content="https://spencers145.github.io/SharkGame/img/sharkgame.png" />
<meta property="og:image:secure_url" itemprop="image" content="https://spencers145.github.io/SharkGame/img/sharkgame.png" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="200" />
<meta property="og:image:height" content="200" />
<meta
property="og:image:alt"
content="A grey-blue shark drawn in a simple lineless style swims in front of a navy blue background. There are the words Shark Game, the word Shark above the shark and the word Game below it."
/>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<link rel="image_src" href="https://spencers145.github.io/SharkGame/img/sharkgame.png" />
<link rel="apple-touch-icon" href="https://spencers145.github.io/SharkGame/img/sharkgame.png" />
<link href="css/style.min.css" rel="stylesheet" type="text/css" title="default" />
<!-- load frameworks -->
<!-- jQuery -->
<script type="text/javascript" src="js/lib/jquery.min.js"></script>
<!-- jQuery migrate plugin
<script src="https://code.jquery.com/jquery-migrate-3.3.2.js"></script>
-->
<!-- lodash -->
<script type="text/javascript" src="js/lib/lodash.min.js"></script>
<!-- Modified version of Jacob Rus script from 2009 -->
<!-- Toby, 2021 speaking. I have no idea who Jacob Rus is, so I modernized this script -->
<script type="text/javascript" src="js/lib/ascii85.min.js"></script>
<!-- Single-file version of pako, for compression/decompression -->
<script type="text/javascript" src="js/lib/pako.min.js"></script>
<!-- big numbers -->
<script type="text/javascript" src="js/lib/decimal.min.js"></script>
<!-- for aspect tree -->
<script type="text/javascript" src="js/lib/panzoom.js"></script>
<!-- Cirr's code starts here. I hope you find it insightful if you came here to peer at it,
but Javascript is hardly my most familiar language. The code here likely stinks. -->
<script type="text/javascript" src="js/main.js"></script>
<script type="text/javascript" src="js/util.js"></script>
<script type="text/javascript" src="js/data/resourcetable.js"></script>
<script type="text/javascript" src="js/data/homeactions.js"></script>
<script type="text/javascript" src="js/data/homemessages.js"></script>
<script type="text/javascript" src="js/data/worldtypes.js"></script>
<script type="text/javascript" src="js/data/upgrades.js"></script>
<script type="text/javascript" src="js/data/events.js"></script>
<script type="text/javascript" src="js/data/modifiertypes.js"></script>
<script type="text/javascript" src="js/data/aspects.js"></script>
<script type="text/javascript" src="js/data/sprites.js"></script>
<script type="text/javascript" src="js/data/homemessagesprites.js"></script>
<script type="text/javascript" src="js/overlay.js"></script>
<script type="text/javascript" src="js/facts.js"></script>
<script type="text/javascript" src="js/eventhandler.js"></script>
<script type="text/javascript" src="js/keybinds.js"></script>
<script type="text/javascript" src="js/resources.js"></script>
<script type="text/javascript" src="js/world.js"></script>
<script type="text/javascript" src="js/log.js"></script>
<script type="text/javascript" src="js/tabs.js"></script>
<script type="text/javascript" src="js/panes.js"></script>
<script type="text/javascript" src="js/titlebar.js"></script>
<script type="text/javascript" src="js/save.js"></script>
<script type="text/javascript" src="js/settings.js"></script>
<script type="text/javascript" src="js/gateway.js"></script>
<script type="text/javascript" src="js/aspecttree.js"></script>
<script type="text/javascript" src="js/memories.js"></script>
<script type="text/javascript" src="js/tabs/home.js"></script>
<script type="text/javascript" src="js/tabs/lab.js"></script>
<script type="text/javascript" src="js/tabs/stats.js"></script>
<script type="text/javascript" src="js/tabs/recycler.js"></script>
<script type="text/javascript" src="js/tabs/gate.js"></script>
<script type="text/javascript" src="js/tabs/reflection.js"></script>
<script type="text/javascript" src="js/tabs/cheatdevice.js"></script>
<script>
var res = SharkGame.Resources;
var main = SharkGame.Main;
var rec = SharkGame.Recycler;
var gateway = SharkGame.Gateway;
var stats = SharkGame.Stats;
var world = SharkGame.World;
var home = SharkGame.Home;
var tree = SharkGame.AspectTree;
var log = SharkGame.Log;
var mem = SharkGame.Memories;
var sharktext = SharkGame.TextUtil;
var sharkcolor = SharkGame.ColorUtil;
var sharkmath = SharkGame.MathUtil;
var sharktime = SharkGame.TimeUtil;
var sharkmisc = SharkGame.MiscUtil;
var cad = SharkGame.CheatsAndDebug;
var DecimalHalfRound = Decimal.clone({ rounding: Decimal.ROUND_HALF_FLOOR });
Decimal.set({ rounding: Decimal.ROUND_FLOOR });
</script>
</head>
<body>
<span id="tooltipbox" class="tooltip click-passthrough"></span>
<span id="updateGameBox" class="tooltip"></span>
<noscript>
<style>
#wrapper {
display: none;
}
</style>
<div class="section">
<h1>Shark Game??</h1>
<p>Oh dear! It seems you have Javascript disabled, or that your current browser does not support scripts.</p>
<p>Shark Game requires scripts to work. Otherwise it's just a static webpage that doesn't do much.</p>
<div style="margin: auto; width: 20em">
<pre>
,
.';
.-'` .'
,`.-'-.`\
; / '-'
| \ ,-,
\ '-.__ )_`'._
'. ``` ``'--._
.-' , `'-.
'-'`-._ (( o ) - scripts plz.
jgs `'--....(`- ,__..--'
'-'` </pre
>
</div>
</div>
</noscript>
<div id="wrapper">
<div id="game" class="clear-fix">
<header id="title">
<h1 id="gameName">- SHARK GAME -</h1>
<h4 id="versionNumber"></h4>
<h4 id="updateGame"></h4>
<div id="titlebackground"></div>
<nav id="titlebar">
<ul id="titlemenu"></ul>
<ul id="subtitlemenu"></ul>
</nav>
</header>
<aside id="sidebar">
<div id="status"></div>
</aside>
<aside id="rightLogContainer"></aside>
<div id="log" class="rightlog"></div>
<nav id="contentMenu"></nav>
<main id="content"></main>
<div id="idle-overlay" class="click-passthrough">
<h1>IDLE MODE</h1>
<span
>You seem to have gone inactive for more than 2 minutes!<br />Offline time is being stored in a button above the resource
table.<br /><br
/></span>
<strong>You can permanently disable this mode in the options menu.</strong>
<i>click to dismiss.</i>
</div>
<div id="overlay"></div>
<div id="preloadedImages"></div>
</div>
<footer id="copyright" class="copyrightNotice">
The above variably-named Shark Game<br />
© <a target="_blank" href="https://cirri.al/">Cirrial</a>, 2014-2016<br />
© <a target="_blank" href="contributors.html">The SharkGame development team</a>, 2020-2024<br />
Licensed under <a target="_blank" href="https://opensource.org/license/mit">MIT</a>.
</footer>
</div>
</body>
</html>