-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
60 lines (59 loc) · 2.85 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
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<script src=".\p5.min.js"></script>
<script src=".\p5.collide2d.min.js"></script>
<link rel="stylesheet" type="text/css" href=".\bootstrap.min.css">
<meta charset="utf-8" />
<title>Jogos clássicos: Pong com Javascript</title>
</head>
<body class="container-lg">
<header class="container-fluid p-2">
<section class="container-fluid">
<h1 class="row">Jogos clássicos: Pong com Javascript</h1>
</section>
<section class="container-fluid">
<form class="row">
<div class="col-6">
<label for="Jogadores" class="form-label">Email address</label>
<select id="Jogadores" name="Jogadores"class="form-select" aria-label="Quantos jogadores?">
<option value="computer" selected>1 Jogador</option>
<option value="player">2 Jogadores</option>
</select>
</div>
<div class="col-6">
<label for="Dificuldade" class="form-label">Dificuldade</label>
<select id="Dificuldade" name="Dificuldade" class="form-select" aria-label="Quantos jogadores?">
<option value="2" selected>Fácil</option>
<option value="5">Médio</option>
<option value="8">Difícil</option>
<option value="11">Muito difícil</option>
</select>
</div>
</form>
</section>
</header>
<main class="container-fluid p-2">
<section class="row">
<div class="col-9" id="game">
</div>
<div class="col-3">
<h5 class="text-center">Use a barra de espaço para <b>pausar</b> / <b>despausar</b></h5>
<h5 class="text-center">Movimentação das raquetes:</h5>
<h6 class="text-center">Jogador 1</h6>
<img class="img-thumbnail mx-auto d-block" src="./asdwx.png" alt="Letras de um teclado">
<p class="text-center">Use as teclas W e S</p>
<h6 class="text-center">Jogador 2</h6>
<img class="img-thumbnail mx-auto d-block" src="./setas.png" alt="Letras de um teclado">
<p class="text-center">Use as Setas</p>
</div>
</section>
</main>
<footer class="container-fluid">
<section class="row justify-content-center">
Desenvolvido com Javascript e P5* por Fernando Cortes
</section>
</footer>
<script src="pong.js"></script>
</body>
</html>