Statify functions not used outside their compilation unit.
[gnushogi.git] / doc / gnushogi_7.html
blob8e17843d40aaf65c031220d23524df10302160ed
1 <HTML>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
3 <!-- Created on July, 7 2004 by texi2html 1.64 -->
4 <!--
5 Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
6 Karl Berry <karl@freefriends.org>
7 Olaf Bachmann <obachman@mathematik.uni-kl.de>
8 and many others.
9 Maintained by: Olaf Bachmann <obachman@mathematik.uni-kl.de>
10 Send bugs and suggestions to <texi2html@mathematik.uni-kl.de>
12 -->
13 <HEAD>
14 <TITLE>GNU Shogi manual: The moves of the pieces</TITLE>
16 <META NAME="description" CONTENT="GNU Shogi manual: The moves of the pieces">
17 <META NAME="keywords" CONTENT="GNU Shogi manual: The moves of the pieces">
18 <META NAME="resource-type" CONTENT="document">
19 <META NAME="distribution" CONTENT="global">
20 <META NAME="Generator" CONTENT="texi2html 1.64">
22 </HEAD>
24 <BODY LANG="" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#800080" ALINK="#FF0000">
26 <A NAME="SEC7"></A>
27 <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0>
28 <TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="gnushogi_6.html#SEC6"> &lt; </A>]</TD>
29 <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="gnushogi_8.html#SEC8"> &gt; </A>]</TD>
30 <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="gnushogi_5.html#SEC5"> &lt;&lt; </A>]</TD>
31 <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="gnushogi_6.html#SEC6"> Up </A>]</TD>
32 <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="gnushogi_15.html#SEC15"> &gt;&gt; </A>]</TD>
33 <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="gnushogi.html#SEC_Top">Top</A>]</TD>
34 <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="gnushogi_toc.html#SEC_Contents">Contents</A>]</TD>
35 <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="gnushogi_24.html#SEC24">Index</A>]</TD>
36 <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="gnushogi_abt.html#SEC_About"> ? </A>]</TD>
37 </TR></TABLE>
38 <HR SIZE=1>
39 <H3> 2.1.1 The moves of the pieces </H3>
40 <!--docid::SEC7::-->
41 <P>
43 Each player at the beginning of a shogi game has a total of 20 pieces of
44 eight different types. The moves of the shogi pieces can be divided
45 into three classes: "stepping" pieces, that only move one square at a
46 time; "ranging" pieces that move any number of unobstructed squares in
47 a line, and "jumping" pieces that can jump over obstructing pieces to
48 reach their destination squares. Most pieces can also promote to
49 different (usually stronger) pieces under certain circumstances (see the
50 next section). All pieces capture the same way that they move (even
51 pawns). The piece moves and promotions are as follows; each piece name
52 is followed by the standard piece abbreviation:
53 </P><P>
55 <OL>
57 <LI>
58 The king (K). The king can move one square in any horizontal, vertical,
59 or diagonal direction, just like the king in international chess. The
60 king does not promote.
61 <P>
63 <LI>
64 The rook (R). The rook can move any number of squares in a horizontal
65 or vertical direction. The rook is the same as the rook in
66 international chess (except that it can promote). A rook promotes to a
67 "dragon king" or "dragon" for short (often just referred to as a
68 "promoted rook"), which can move as a rook or can move one square in
69 any diagonal direction.
70 <P>
72 <LI>
73 The bishop (B). The bishop can move any number of squares in a diagonal
74 direction. The bishop is the same as the bishop in international chess
75 (except that it can promote). A bishop promotes to a "dragon horse"
76 or "horse" for short (often just referred to as a "promoted
77 bishop"), which can move as a bishop or can move one square in any
78 horizontal or vertical direction. Note: the horse should not be
79 confused with a knight (see below), as they are two completely different
80 pieces.
81 <P>
83 <LI>
84 The gold general (G). A gold general can move one square in any
85 horizontal or vertical direction, or one square in a forward diagonal
86 direction. Gold generals do not promote.
87 <P>
89 <LI>
90 The silver general (S). A silver general can move one square in any
91 diagonal direction, or one square straight forward. A silver general
92 promotes to a gold general.
93 <P>
95 <LI>
96 The knight (N). A knight can move one square straight forward followed
97 by one square to either forward diagonal, jumping over intervening
98 pieces if any. In other words, a knight moves like its international
99 chess counterpart, but forward only. A knight promotes to a gold
100 general. The knight is the only jumping piece, as in chess.
103 <LI>
104 The lance (L). A lance can move any number of squares straight forward.
105 A lance promotes to a gold general.
108 <LI>
109 The pawn (P). A pawn can move one square straight forward. The pawn
110 captures the same way that it moves, in contrast to international chess.
111 There is also no initial two-space move for pawns and no
112 <EM>en-passant</EM> capture. A pawn promotes to a gold general; a
113 promoted pawn is usually known as a "Tokin".
116 </OL>
119 <A NAME="The opening setup"></A>
120 <HR SIZE=1>
121 <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0>
122 <TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="gnushogi_6.html#SEC6"> &lt; </A>]</TD>
123 <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="gnushogi_8.html#SEC8"> &gt; </A>]</TD>
124 <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="gnushogi_5.html#SEC5"> &lt;&lt; </A>]</TD>
125 <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="gnushogi_6.html#SEC6"> Up </A>]</TD>
126 <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="gnushogi_15.html#SEC15"> &gt;&gt; </A>]</TD>
127 <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="gnushogi.html#SEC_Top">Top</A>]</TD>
128 <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="gnushogi_toc.html#SEC_Contents">Contents</A>]</TD>
129 <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="gnushogi_24.html#SEC24">Index</A>]</TD>
130 <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="gnushogi_abt.html#SEC_About"> ? </A>]</TD>
131 </TR></TABLE>
132 <BR>
133 <FONT SIZE="-1">
134 This document was generated
135 by <I>Michael C. Vanier</I> on <I>July, 7 2004</I>
136 using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
137 "><I>texi2html</I></A>
139 </BODY>
140 </HTML>