-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchess.html
More file actions
60 lines (53 loc) · 2.06 KB
/
Copy pathchess.html
File metadata and controls
60 lines (53 loc) · 2.06 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
59
60
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="chess.css">
<title>Document</title>
</head>
<body>
<div id="contModal">
<div class="modalDeadPieces" id="modalWhite"></div>
<div class="modalDeadPieces" id="modalBlack"></div>
</div>
<div class="contForm">
<section id="whitePieces"></section>
<article class="question">
<h1>Selecciona el tamaño del Tablero</h1>
<p class="text">Los valores de los espacios deben ser:<br> Columnas: Par y mayor a 7. <br> Filas: Par y mayor a 3.</p>
<form>
<div>
<label for="columns">Columnas: </label>
<input type="number" id="colsInput" value="8">
</div>
<div>
<label for="rows">Filas: </label>
<input type="number" id="rowsInput" value="8">
</div>
</form>
<p id="advice"></p>
<button id='make' onclick="verificar()">Crear</button>
<button id='clean' onclick="clean()">Limpiar</button>
</article>
<section id="blackPieces"></section>
</div>
<div class="turnos">Turno: <span id="turno">Blancas</span></div>
<div id="contChessClean"></div><!--ContChess-->
<!--Scripts-->
<script src="./js/variable.js"></script>
<script src="./js/functionHelpers.js"></script>
<!--Moviemiento fichas-->
<script src="./js/piecesMovement/peon.js"></script>
<script src="./js/piecesMovement/tower.js"></script>
<script src="./js/piecesMovement/horse.js"></script>
<script src="./js/piecesMovement/bishop.js"></script>
<script src="./js/piecesMovement/queen.js"></script>
<script src="./js/piecesMovement/king.js"></script>
<script src="./js/chess.js"></script>
</body>
</html>
<!-- largo = 50 * filas 2
ancho = 50 * columnas 2-->
<!--Morado--#872657-->