-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
94 lines (86 loc) · 5.98 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Chess!</title>
<link href="./css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4"
crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
<link href="./style.css" rel="stylesheet">
<script src="./main.js"></script>
</head>
<body class="bg-primary">
<nav class="navbar-dark fixed-top navbar navbar-expand-sm bg-primary">
<div class="container">
<a href="#" class="navbar-brand h1 mb-0">Chess</a>
<button type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" class="navbar-toggler"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"><i
class="bi bi-list"></i>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a href="./websites.html" class="nav-link">Websites</a>
</li>
<li class="nav-item">
<a href="./players.html" class="nav-link">Players</a>
</li>
</ul>
<button class="btn btn-outline-secondary ms-auto" id="pawn" onclick="play()">
<svg id="svg2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 322.73 415.88" width="24"
height="24">
<defs>
<style>
.cls-1 {
fill: #fff;
}
</style>
</defs>
<g id="layer1">
<g id="g2407">
<path id="path2558"
d="M8.67,414.93C2.57,412.47,.03,400.6,0,374.44c-.02-21.65,1.5-31.06,8.34-51.61,12.98-38.99,41.4-72.77,76.59-91.04l10.06-5.22-5.06-4.12c-10.79-8.79-20.39-23.95-24.75-39.06-1.86-6.47-2.28-10.28-2.23-20.45,.06-10.86,.43-13.61,2.84-21,7.54-23.07,20.75-38.57,41.58-48.82l9.5-4.68-4.23-6.3c-8.46-12.63-11.1-27.8-7.28-41.93,4.24-15.73,12.73-26.07,27.3-33.25,18.81-9.27,38.61-9.27,57.42,0,14.57,7.18,23.06,17.52,27.3,33.25,3.82,14.14,1.18,29.31-7.28,41.93l-4.23,6.3,9.5,4.68c20.83,10.25,34.04,25.75,41.58,48.82,2.41,7.39,2.78,10.14,2.84,21,.05,10.17-.37,13.98-2.23,20.45-4.36,15.11-13.96,30.27-24.75,39.06l-5.06,4.12,10.06,5.22c35.19,18.27,63.61,52.05,76.59,91.04,6.84,20.55,8.36,29.96,8.33,51.61-.02,26.65-2.56,38.11-8.98,40.55-3.23,1.22-302.02,1.17-305.07-.06h0Z" />
<path id="path2384" class="cls-1"
d="M304.1,395.19c.42-1.51,.74-11.07,.7-21.25-.07-20.62-1.75-31.25-7.55-47.69-14.2-40.25-47.26-73.64-86.88-87.76-9.96-3.54-11.78-4.85-12.57-9.05-.97-5.21,1.26-7.7,11.27-12.52,31.24-15.08,42.62-53.88,24.81-84.6-4.83-8.33-16.11-18.59-25.64-23.31-7.96-3.94-12.1-5-25.97-6.61-5.14-.6-8.53-3.15-9.54-7.17-1.05-4.17,1.51-7.45,8.6-11.03,8.05-4.05,13.36-9.18,16.84-16.26,2.36-4.8,2.7-6.7,2.7-15s-.33-10.18-2.78-15.16c-3.45-7.02-8.99-12.12-17.6-16.2-6.32-3-7.18-3.14-19.12-3.14s-12.8,.14-19.12,3.14c-8.61,4.08-14.15,9.18-17.6,16.2-2.45,4.98-2.78,6.8-2.78,15.16s.34,10.2,2.7,15c3.48,7.08,8.79,12.21,16.84,16.26,7.09,3.58,9.65,6.86,8.6,11.03-1.01,4.02-4.4,6.57-9.54,7.17-13.87,1.61-18.01,2.67-25.97,6.61-9.53,4.72-20.81,14.98-25.64,23.31-7.28,12.55-9.98,27.84-7.52,42.47,2.95,17.47,15.72,34.12,32.33,42.13,10.01,4.82,12.24,7.31,11.27,12.52-.79,4.2-2.61,5.51-12.57,9.05-39.62,14.12-72.68,47.51-86.88,87.76-5.8,16.44-7.48,27.07-7.55,47.69-.04,10.18,.28,19.74,.7,21.25l.77,2.75H303.33l.77-2.75Z" />
</g>
</g>
</svg>
</button>
</div>
</div>
</nav>
<main class="main">
<section class="container">
<h1 class="text-light mb-3">What is Chess?</h1>
<img src="./images/old-chess.jpg" alt="chess">
<p class="para text-light"><strong>Chess</strong> is a board game for two players. It is sometimes called
international
chess or
Western chess to
distinguish it
from related games such as xiangqi (Chinese chess) and shogi (Japanese chess).</p>
<p class="para"><strong>Chess</strong> is an abstract strategy game that involves no hidden information and
no elements of chance. It is played on a
chessboard with 64 squares arranged in an 8×8 grid. The players, referred to as "White" and "Black",
each control
sixteen pieces: one king, one queen, two rooks, two bishops, two knights, and eight pawns. White moves
first, followed
by Black. The game is won by checkmating the opponent's king, i.e. threatening it with inescapable
capture. There are
several ways a game can end in a draw.</p>
<p class="para">The recorded history of chess goes back at least to the emergence of a similar game,
chaturanga, in seventh-century
India. After its introduction in Persia, it spread to the Arab world and then to Europe. The rules of
chess as they are
known today emerged in Europe at the end of the 15th century, with standardization and universal
acceptance by the end
of the 19th century. Today, chess is one of the world's most popular games and is played by millions of
people
worldwide.</p>
</section>
</main>
</body>
</html>