-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrules.html
More file actions
252 lines (139 loc) · 12 KB
/
rules.html
File metadata and controls
252 lines (139 loc) · 12 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
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Rules and special cases — Amoeba 3.8 2 documentation</title>
<script type="text/javascript" src="_static/js/modernizr.min.js"></script>
<script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="_static/language_data.js"></script>
<script type="text/javascript" src="_static/js/theme.js"></script>
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="Portable Game Notation(PGN)" href="pgn.html" />
<link rel="prev" title="History" href="History.html" />
</head>
<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >
<a href="index.html" class="icon icon-home"> Amoeba
</a>
<div class="version">
3.8 2
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="Profile.html">My PROFILE</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="Chess.html">CHESS</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="History.html">History</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="#">Rules and special cases</a></li>
<li class="toctree-l2"><a class="reference internal" href="pgn.html">Portable Game Notation(PGN)</a></li>
<li class="toctree-l2"><a class="reference internal" href="fen.html">Forsyth–Edwards Notation(FEN)</a></li>
<li class="toctree-l2"><a class="reference internal" href="description.html">Description</a></li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="index.html">Amoeba</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href="index.html">Docs</a> »</li>
<li><a href="Chess.html">CHESS</a> »</li>
<li>Rules and special cases</li>
<li class="wy-breadcrumbs-aside">
<a href="_sources/rules.rst.txt" rel="nofollow"> View page source</a>
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<div class="section" id="rules-and-special-cases">
<h1>Rules and special cases<a class="headerlink" href="#rules-and-special-cases" title="Permalink to this headline">¶</a></h1>
<p>The ultimate aim in the chess game is delivering a checkmate – trapping your opponent´s king.</p>
<p><strong>General Chess Rules</strong></p>
<p>White is always first to move and players take turns alternately moving one piece at a time. Movement is required. If a player´s turn is to move, he is not in check but has no legal moves, this situation is called “Stalemate” and it ends the game in a draw. Each type of piece has its own method of movement. A piece may be moved to another position or may capture an opponent´s piece, replacing on its square (en passant being the only exception). With the exception of the knight, a piece may not move over or through any of the other pieces. When a king is threatened with capture (but can protect himself or escape), it´s called check. If a king is in check, then the player must make a move that eliminates the threat of capture and cannot leave the king in check. Checkmate happens when a king is placed in check and there is no legal move to escape. Checkmate ends the game and the side whose king was checkmated looses.</p>
<p><strong>INITIL POSITIONS</strong></p>
<a class="reference internal image-reference" href="_images/positions.jpg"><img alt="_images/positions.jpg" class="align-left" src="_images/positions.jpg" style="width: 225px; height: 225px;" /></a>
<p>The chessboard is made up of eight rows and eight columns for a total of 64 squares of alternating colors. Each square of the chessboard is identified with a unique pair of a letter and a number. The vertical files are labeled a through h, from White´s left (i.e. the queenside) to White´s right. Similarly, the horizontal ranks are numbered from 1 to 8, starting from the one nearest White´s side of the board. Each square of the board, then, is uniquely identified by its file letter and rank number. In the initial position setup, the light queen is positioned on a light square and the dark queen is situated on a dark square. The diagram below shows how the pieces should be initially situated.</p>
<p><strong>MOVES</strong></p>
<p><em>King</em></p>
<a class="reference internal image-reference" href="_images/king.gif"><img alt="_images/king.gif" class="align-right" src="_images/king.gif" style="width: 200px; height: 200px;" /></a>
<p>King can move exactly one square horizontally, vertically, or diagonally. At most once in every game, each king is allowed to make a special move, known as castling.</p>
<p><em>Queen</em></p>
<a class="reference internal image-reference" href="_images/queen.gif"><img alt="_images/queen.gif" class="align-left" src="_images/queen.gif" style="width: 200px; height: 200px;" /></a>
<p>Queen can move any number of vacant squares diagonally, horizontally, or vertically.</p>
<p><em>Rook</em></p>
<a class="reference internal image-reference" href="_images/rook.gif"><img alt="_images/rook.gif" class="align-right" src="_images/rook.gif" style="width: 200px; height: 200px;" /></a>
<p>Rook can move any number of vacant squares vertically or horizontally. It also is moved while castling.</p>
<p><em>Bishop</em></p>
<a class="reference internal image-reference" href="_images/bishop.gif"><img alt="_images/bishop.gif" class="align-left" src="_images/bishop.gif" style="width: 200px; height: 200px;" /></a>
<p>Bishop can move any number of vacant squares in any diagonal direction.</p>
<p><em>Knight</em></p>
<a class="reference internal image-reference" href="_images/knight.gif"><img alt="_images/knight.gif" class="align-right" src="_images/knight.gif" style="width: 200px; height: 200px;" /></a>
<p>Knight can move one square along any rank or file and then at an angle. The knight´s movement can also be viewed as an “L” or “7″ laid out at any horizontal or vertical angle.</p>
<p><em>Pawn</em></p>
<a class="reference internal image-reference" href="_images/pawn.gif"><img alt="_images/pawn.gif" class="align-left" src="_images/pawn.gif" style="width: 200px; height: 200px;" /></a>
<p>Pawns can move forward one square, if that square is unoccupied. If it has not yet moved, the pawn has the option of moving two squares forward provided both squares in front of the pawn are unoccupied. A pawn cannot move backward. Pawns are the only pieces that capture differently from how they move. They can capture an enemy piece on either of the two spaces adjacent to the space in front of them (i.e., the two squares diagonally in front of them) but cannot move to these spaces if they are vacant. The pawn is also involved in the two special moves en passant and promotion.</p>
<p><strong>CASTLING</strong></p>
<a class="reference internal image-reference" href="_images/castling.jpg"><img alt="_images/castling.jpg" class="align-center" src="_images/castling.jpg" style="width: 300px; height: 200px;" /></a>
<p>Castling is the only time in the chess game when more than one piece moves during a turn. This chess move has been invented in the 1500´s to help speeding up the game and improving balance of the offense and defense. During the castling, the king moves two squares towards the rook he intends to castle with, and the rook moves to the square through which the king passed. Castling is only permissible if all of the following conditions hold:</p>
<p>–> Neither king nor rook involved in castling may have moved from the original position;</p>
<p>–> There must be no pieces between the king and the rook;</p>
<p>The king may not currently be in check, nor may the king pass through or end up in a square that is under attack by an enemy piece (though the rook is permitted to be under attack and to pass over an attacked square)</p>
<p><strong>EN-PASSANT</strong></p>
<a class="reference internal image-reference" href="_images/enpassant.png"><img alt="_images/enpassant.png" class="align-right" src="_images/enpassant.png" style="width: 200px; height: 200px;" /></a>
<p>En Passant may only occur when a pawn is moved two squares on its initial movement. When this happens, the opposing player has the option to take the moved pawn “en passant” as if it had only moved one square. This option, though, only stays open for one move. The En Passant move was developed after pawns were allowed to move more than one square on their initial move. The idea behind this rule was to retain restrictions imposed by slow movement, while at the same time speeding up the game.</p>
<p><strong>PROMOTING PAWN</strong></p>
<p>If a pawn reaches the opponent´s edge of the table, it will be promoted – the pawn may be converted to a queen, rook, bishop or knight, as the player desires. The choice is not limited to previously captured pieces. Thus its´ theoretically possible having up to nine queens or up to ten rooks, bishops, or knights if all pawns are promoted.</p>
</div>
</div>
</div>
<footer>
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
<a href="pgn.html" class="btn btn-neutral float-right" title="Portable Game Notation(PGN)" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
<a href="History.html" class="btn btn-neutral float-left" title="History" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
</div>
<hr/>
<div role="contentinfo">
<p>
© Copyright 2020, Hima Bindu
</p>
</div>
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<script type="text/javascript">
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>
</body>
</html>