-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
55 lines (51 loc) · 2.31 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
<!DOCTYPE html>
<html lang="eng">
<head>
<!-- META -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Serpentes</title>
<!-- TYPESTYLES -->
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Roboto+Mono:wght@400;700&display=swap" rel="stylesheet">
<!-- CSS -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css" rel="stylesheet" type="text/css"><!-- Normalize -->
<link href="main.css" rel="stylesheet" type="text/css"><!-- Main -->
</head>
<body>
<header class="header">
<h1 class="title">serpentes</h1>
</header>
<main class="game-container">
<div class="grid"></div>
<div class="game-over game-over-hidden">
<p class="game-over-text">game</p>
<p class="game-over-text">over</p>
</div>
</main>
<div class="console-container">
<div class="console-info">
<p class="score">pts. <span class="scoreboard">0</span></p>
<button class="btn start">start</button>
</div>
<div class="console-btns">
<button class="btn btn-left"><p class="btn-arrow btn-arrow-left">▲</p></button>
<div class="console-btns-center">
<button class="btn btn-up"><p class="btn-arrow btn-arrow-up">▲
</p></button>
<button class="btn btn-down"><p class="btn-arrow btn-arrow-down">▼
</p></button>
</div>
<button class="btn btn-right"><p class="btn-arrow btn-arrow-right">▲</p></button>
</div>
</div>
<footer>
<p class="instructions">use buttons or keyboard arrows</p>
<p class="sign-off">© ruairí conway <span class="copyright-year"></span></p>
</footer>
<!-- scripts -->
<script src="https://code.jquery.com/jquery-3.4.1.slim.js" crossorigin="anonymous"></script>
<script src="main.js"></script>
</body>
</html>