-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (39 loc) · 2.19 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Sokoban | DevZone</title>
<link rel="stylesheet" href="./tailwind.css">
<link rel="stylesheet" href="./style.css" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<meta property="og:site_name" content="Sokoban | DevZone" />
<meta property="og:title" content="Play game Sokoban | DevZone" />
<meta property="og:description" content="(Wikipedia) Sokoban (倉庫番, sōko-ban, 'warehouse keeper') is a puzzle video game in which the player pushes crates or boxes around in a warehouse, trying to get them to storage locations."/>
<meta property="og:image" content="https://dz-sokoban.netlify.app/images/thumbnail.png">
<meta property="og:url" content="https://dz-sokoban.netlify.app">
<meta property="og:type" content="game"/>
</head>
<body class="bg-indigo-500" onload="loadRandomGame()">
<div class="flex justify-center items-center flex-col">
<div class="btn flex justify-center my-8">
<div class="flex items-center text-white mx-5">
<a href="https://github.com/tamht298/sokoban" class="tooltip flex" rel="noreferrer">
<p class="tooltip-text bg-black text-xs flex items-center opacity-75 mr-2 rounded-md">Give me <span class="text-xl mx-2"><i class="fa fa-star"></i></span>!
</p>
<span class="text-4xl"><i class="fa fa-github"></i></span>
</a>
</div>
<button onclick="loadRandomGame()"
class="btn bg-indigo-500 bg-opacity-25 text-white mx-2 hover:bg-indigo-800 border-2 border-white hover:text-white font-semibold px-4 py-2 rounded-md">New
game</button>
<div id="level" class="mx-2 flex items-center text-white">Level: 1</div>
</div>
<div id="board" class="flex 0 justify-center mt-2">
</div>
</div>
<script src="./main.js"></script>
<script src="./map.js"></script>
</body>
</html>