-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
127 lines (112 loc) · 5.06 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap v5.3.3 -->
<link href="external/bootstrap/bootstrap.min.css" rel="stylesheet">
<script src="external/bootstrap/bootstrap.bundle.min.js"></script>
<title>The Raven's Mark - Idle Game</title>
</head>
<body>
<h1 style="text-align:center">The Raven's Mark</h1>
<ul class="nav nav-tabs">
<li class="nav-item">
<button class="nav-link active" id="profile-tab" data-bs-toggle="tab" data-bs-target="#world" type="button"
role="tab" aria-controls="profile" aria-selected="false">World</button>
</li>
<li class="nav-item">
<button class="nav-link" id="profile-tab" data-bs-toggle="tab" data-bs-target="#you" type="button"
role="tab" aria-controls="profile" aria-selected="false">You</button>
</li>
<li class="nav-item">
<button class="nav-link" id="profile-tab" data-bs-toggle="tab" data-bs-target="#settings" type="button"
role="tab" aria-controls="profile" aria-selected="false">Settings</button>
</li>
</ul>
<div class="tab-content" id="myTabContent">
<div class="tab-pane fade show active" id="world" role="tabpanel" aria-labelledby="home-tab">
<div class="row">
<div class="col">
<h2>Resources</h2>
<div id="resource-list"></div>
</div>
<div class="col">
<h2>Map</h2>
<div>
<img width=300 src="corvus.webp" />
<div>
<button style="position: relative;top: -80px; left: 60px;"onclick="getResource('bones')">Graveyard</button>
<button style="position: relative;top: -280px; left: 120px;"onclick="getResource('pelts')">Outskirts</button>
<button style="position: relative;top: -110px; left: -50px;"onclick="getResource('gold')">Market</button>
<button style="position: relative;top: -190px; left: -130px;"onclick="getResource('shots')">The Mark</button>
<button style="position: relative;top: -250px; left: -300px;"onclick="getResource('fish')">Wharf</button>
</div>
</div>
</div>
<div class="col">
<h2>Quests</h2>
<div id="quest-container" style="overflow-y:scroll;height:400px;">
</div>
</div>
</div>
</div>
</div>
<div class="tab-pane fade" id="you" role="tabpanel" aria-labelledby="profile-tab">
<h2>Character</h2>
<strong>Name: </strong>Norm Alman<br />
<strong>Race: </strong>Elf<br />
<strong>Class: </strong>Commoner<br />
<strong>Rank: </strong>Hatchling<br />
<strong>Alignment: </strong>Neutral<br />
<div class="row">
<div class="col">
<table class="table table-bordered">
<thead>
<tr>
<th>STR</th>
<th>CON</th>
<th>DEX</th>
<th>WIS</th>
<th>INT</th>
<th>CHA</th>
</tr>
</thead>
<tbody>
<tr>
<td>8</td>
<td>8</td>
<td>8</td>
<td>8</td>
<td>8</td>
<td>8</td>
</tr>
</tbody>
</table>
</div>
<div class="col">
<h4>Upgrades</h4>
<div>
<div><strong>Jo's little helper</strong>Cost: 10 Shots. Gain: + 1 Shots / sec. </div>
<div><strong>Fisherman's Friend</strong>Cost: 10 Fish. Gain: + 1 Fish / sec. </div>
<div><strong>Recurring Contract</strong>Cost: 10 Pelts. Gain: + 1 Pelts / sec. </div>
<div><strong>Business Investment</strong>Cost: 10 Coins. Gain: + 1 Coins / sec.</div>
<div><strong>Shady Deal with a Necromancer</strong>Cost: 10 Bones. Gain: + 1 Bones / sec. + Evil</div>
</div>
</div>
</div>
</div>
<div class="tab-pane fade" id="settings" role="tabpanel" aria-labelledby="profile-tab">
<div>
<button id="download-save">Download Save</button>
<input type="file" id="upload-save" accept=".json">
<button id="clear-save">Reset Game</button>
</div>
</div>
</div>
<script src="src/game.js"></script>
<script src="src/quests.js"></script>
<script src="src/refresh.js"></script>
<script src="src/state.js"></script>
</body>
</html>