-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
39 lines (31 loc) · 1.07 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="style.css">
<title>Marrakesh</title>
</head>
<body>
<h1 class='oculto' id="victoria"></h1>
<button id="newgame" onclick="jugar()">Jugar</button>
<div id="juego" class="oculto">
<div id="tablero"></div>
<div id="dado">
<h4>Turno del jugador: <span id="turno"></span></h4>
<h1 id="dadoT"></h1>
<button id="dadoB" onclick="tirarDado()">Tirar</button>
<button id="pasar" disabled onclick="pasar()">Pasar</button>
</div>
<div id="dinero">
<h3>Dinero</h4>
<h4 class="Tred">Player 1: $<span id="p1M"></span></h4>
<h4 class="Tblue">Player 2: $<span id="p2M"></span></h4>
</div>
</div>
<canvas id="canvas"></canvas>
<button onclick="draw()">canvas</button>
<script src="script.js"></script>
</body>
</html>