-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmobs.html
More file actions
58 lines (49 loc) · 1.54 KB
/
Copy pathmobs.html
File metadata and controls
58 lines (49 loc) · 1.54 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mob Daily</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="game-container">
<h1 class="page-title"><a href="index.html">Mob Daily</a></h1>
<h2>The data of this project is obtained from the <a href="https://minecraft.wiki">Minecraft wiki</a>.</h2>
<h2>This project is inspired by <a href="https://mcdle.net">mcdle.net</a>.</h2>
<br/>
<div class="search-wrapper">
<input type="text" id="searchInput" placeholder="Search for a mob...">
<div id="searchHeader"></div>
<div id="searchResults"></div>
</div>
<div id="scoreContainer"></div>
<div class="table-wrapper">
<table>
<thead>
<tr id="guessTableHead">
<!-- Automatically filled by renderGuessTableHead -->
</tr>
</thead>
<tbody id="guessTable"></tbody>
</table>
</div>
</div>
<script>
window.GAME_CONFIG = {
type: 'mobs',
dataFile: 'data/mobs.json',
displayName: 'Mob'
};
window.GAME_FIELDS_CONFIG = [
{ key: 'initial_release', label: 'Release' },
{ key: 'health', label: 'Health' },
{ key: 'height', label: 'Height' },
{ key: 'behavior', label: 'Behavior' },
{ key: 'spawn', label: 'Natural Spawn (Excluding breeding)' },
{ key: 'classification', label: 'Classification' }
];
</script>
<script src="script.js"></script>
</body>
</html>