This file is indexed.

/usr/share/doc/gnushogi/html/Sample-game.html is in gnushogi 1.4.2-3build2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Sample game (GNU Shogi manual)</title>

<meta name="description" content="Sample game (GNU Shogi manual)">
<meta name="keywords" content="Sample game (GNU Shogi manual)">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<link href="index.html#Top" rel="start" title="Top">
<link href="Index.html#Index" rel="index" title="Index">
<link href="Index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="About-shogi.html#About-shogi" rel="up" title="About shogi">
<link href="Mating-problems.html#Mating-problems" rel="next" title="Mating problems">
<link href="The-rules-of-shogi.html#Notes-for-chess-players" rel="prev" title="Notes for chess players">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.indentedblock {margin-right: 0em}
blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
blockquote.smallquotation {font-size: smaller}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
div.lisp {margin-left: 3.2em}
div.smalldisplay {margin-left: 3.2em}
div.smallexample {margin-left: 3.2em}
div.smalllisp {margin-left: 3.2em}
kbd {font-style: oblique}
pre.display {font-family: inherit}
pre.format {font-family: inherit}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: inherit; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: inherit; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.nolinebreak {white-space: nowrap}
span.roman {font-family: initial; font-weight: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
ul.no-bullet {list-style: none}
-->
</style>


</head>

<body lang="en">
<a name="Sample-game"></a>
<div class="header">
<p>
Next: <a href="Mating-problems.html#Mating-problems" accesskey="n" rel="next">Mating problems</a>, Previous: <a href="The-rules-of-shogi.html#The-rules-of-shogi" accesskey="p" rel="prev">The rules of shogi</a>, Up: <a href="About-shogi.html#About-shogi" accesskey="u" rel="up">About shogi</a> &nbsp; [<a href="Index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html#Index" title="Index" rel="index">Index</a>]</p>
</div>
<a name="Sample-game-1"></a>
<h3 class="section">2.2 Sample game</h3>
<a name="index-Sample-game"></a>


<p>This game was annotated by Pieter Stouten (see <a href="References-and-links.html#References-and-links">References and links</a>).  I have made some minor corrections.  Note that captures are
denoted by the &ldquo;x&rdquo; symbol e.g. Rx3f and drops are denoted by the &ldquo;*&rdquo;
symbol e.g. R*3f.  Check is indicated by a &ldquo;+&rdquo; after the move,
e.g. R3f+.  I recommend you use a graphical interface to play along with this
game.  In xshogi simply hit the &ldquo;Force Moves&rdquo; button after starting
up, while in gnushogi enter the word &ldquo;force&rdquo; at the prompt.  This will
allow you to enter moves for both sides.
</p>
<p>Note also that the move numbering system used here is the chess-type
system where one move means one move by each player.  The Japanese count
one move made by each player as two moves.
</p>
<p>&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;
</p>
<p>Below you will find (the English translation of) an annotated game which
was published in the Dutch Shogi magazine &ldquo;81&rdquo; and in the Dutch
beginners booklet.  It has proven to be a very useful game to explain
some basic principles of Shogi.  Also, it is a rather straightforward
game compared to professional games where in most cases very diffuse
middle game fights take place.
</p>
<p>Pieter Stouten, 14th May 1990.
</p>
<p>&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;
</p>
<p>Black: Michael Trent (1-dan).  White: David Murphy (2-dan).
</p>
<p>1. P2f P3d  2. P2e B3c <br>
[ This move is necessary, as otherwise white can exchange pawns: 3. P2d
Px2d 4. Rx2d.  He would thus get a pawn in hand and open up his rook
file. ]
</p>
<p>3. P7f P4d <br>
[ White closes the bishop diagonal again.  He plans to play ranging rook
(the rook goes to 5b, 4b, 3 or 2b; a defensive strategy) and in that
case he&rsquo;d better avoid an exchange of bishops.  One of the reasons is
that he will have problems developing his pieces without leaving holes
for bishop drops. ]
</p>
<p>4. S4h R3b  5. P3f S4b  6. K6h K6b <br>
[ In general the rook plays an important role in the attacks.  It is
wise to move the king away from the area where the initial fights will
be and both players act according to the Shogi proverb &ldquo;keep the rook
and king apart&rdquo;. ]
</p>
<p>7. K7h K7b  8. P5f P5d  9. G4i-5h G4a-5b <br>
[ Both players use their second gold general to build their castle. ]
</p>
<p>10. S6h <br>
[ In itself this move is not bad.  However, it will become clear that
black plans a quick attack and in that case it is wiser to omit this
move. ]
</p>
<p>10... S5c  11. P1f P1d <br>
[ The advance of the edge pawns must be timed very well.  The remark at
black&rsquo;s tenth move applies here too: this move is good if black wants to
play a slow game, because it eliminates a future B1e. ]
</p>
<p>12. P4f K8b  13. N3g S7b <br>
[ Black develops his knight in order to start an attack over the second,
third and fourth files.  White strengthens his king&rsquo;s position and
awaits the attack.  He aims at a counterattack as soon as black has
broken through into the white camp.  Probably white&rsquo;s breakthrough will
take place later, but he has good compensation in the form of a stronger
castle.  This theme occurs very often in static rook versus ranging rook
games. ]
</p>
<p>14. P4e R4b <br>
[ Black starts his attack and white puts up a very passive defence.  His
rook has a hard task now to penetrate the black position.  Moreover, he
blocks his own bishop.  It seems much better to start a counterattack
with 14... P3e, later to be followed by B2b, B5a or Bx4d in order to use
his rook more actively. ]
</p>
<p>15. Px4d Sx4d  16. P*4e S5c <br>
[ 16... Sx4e is more active.  A silver general is normally more valuable
than a knight, but white gets two pawns in hand and black none, while
the knight might come in handy for white too. ]
</p>
<p>17. Bx3c+ Nx3c  18. P2d Px2d <br>
[ Black threatens to break through and white has to consider taking the
pawn on 2d or starting a counterattack with Nx4e.  If he chooses the
latter, black can play Px2c+ followed by +P3c.  The disadvantage is the
black &ldquo;tokin&rdquo; (=promoted pawn) that white will get in his camp; the
advantage is that it will cost black two more moves to promote his rook.
Because white did not trust that the result after engaging in a
&ldquo;semeai&rdquo; (=mutual attack) with 18...Nx4e would give a positive result,
he captured the pawn on 2d.  Making the right decision in moments like
this often makes the difference between a win and a loss: miss one
attacking chance and you will be forced to defend the whole game until
the unavoidable defeat; on the other hand, an unsound attack can destroy
all &ldquo;aji&rdquo; (=potential, meaning possibilities, threats) without getting
anything in return. ]
</p>
<p>19. Rx2d Nx4e  20. Nx4e Rx4e  21. R2a+ P*4g <br>
[ Now it becomes clear why black&rsquo;s 10. S6h was not good.  Had this move
been omitted, then white would not have had the time to play 13... S7b
and after R2a+ the gold on 6a would hang.  Thus black would have kept
&ldquo;sente&rdquo; (=initiative).  Instead of 21... P*4g, B*6d is a very good
move, because after 22. P*2h black does not have a pawn in hand anymore
and he is being threatened with the annoying 22... N*4f 23. G5g N3h+
24. S4g +N4h also.  Black can also counter 21... B*6d with 22. N*3g.
White would then reply with 22... R4b 23. B*3c P*4g 24. Bx4b+ Sx4b.  The
white rook has played its role and instead of spending moves on saving
it white starts to scatter black&rsquo;s defences by successive pawn drops on
the fourth file: 25. Gx4g P*4f 26. G5g N*6e 27. G5h P4g+ 28. Gx4g P*4f.
This analysis was provided by Kato Hifumi, 9-dan professional (the
highest regular grade).  Destroying the coherence of the enemy pieces
(their shape) by dropping pawns is one of the most important Shogi
techniques.  With the actual move 21... P*4g white missed a good
chance. ]
</p>
<p>22. Sx4g P*4f  23. B*3g Px4g+  24. +Rx6a +Px3g <br>
[ 23. B*3g seems pointless, but a closer look reveals that it is
actually quite mean.  On move 24 white cannot capture black&rsquo;s &ldquo;Ryu&rdquo;
(=dragon =promoted rook) with his silver: 24... Sx6a 25. N*7d K7b
26. G*8b mate.  By attacking the front of the white castle and
threatening to mate him there, black has the chance to break down the
white defences from the side. ]
</p>
<p>25. +Rx5b S*6b <br>
[ Here 25... B*4d would be much better, because it is defensive and
attacking at the same time.  After e.g. 26. G*4c Bx9i+ 27. Gx5c black
threatens 28. +Rx7b Kx7b 29. S*6a K8b 30. S*7a Kx7a 31. G*7b mate.
White is one move quicker, however.  He has the following beautiful
&ldquo;tsume&rdquo; (mating sequence where every move is check): 27... N*8f 28. Px8f
S*8g 29. Kx8g B*9h 30. K7h Bx8i+ 31. K8g +B8i-8h 32. K9f L*9e mate.
This illustrates the sharpness of Shogi: one move can make the
difference between winning and losing. ]
</p>
<p>26. P*4f Rx4f <br>
[ This move eliminates white&rsquo;s last chances.  26... R4b 27. +Rx4b Sx4b
28. R*4a seems annoying, but after 28... B*3c 29. S7g B*3b white wins
the rook and with his &ldquo;tokin&rdquo; on 3g there still is some hope. ]
</p>
<p>27. N*6e +P4g <br>
[ White cannot defend anymore, so he starts a desperate attack.  Black
does not lose the right track, however. ]
</p>
<p>28. Nx5c+ +Px5h  29. +Nx6b +Px6h  30. Gx6h N*8f  31. Px8f B*6i  32. Gx6i
   R4h+  33. N*6h +Rx6h  34. Gx6h S*8g  35. Kx8g N*9e  36. K7h Resigns <br>
[ White resigns here, because after 36... B*8g 27. K7g his attack has
petered out. ]
</p>



<hr>
<div class="header">
<p>
Next: <a href="Mating-problems.html#Mating-problems" accesskey="n" rel="next">Mating problems</a>, Previous: <a href="The-rules-of-shogi.html#The-rules-of-shogi" accesskey="p" rel="prev">The rules of shogi</a>, Up: <a href="About-shogi.html#About-shogi" accesskey="u" rel="up">About shogi</a> &nbsp; [<a href="Index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html#Index" title="Index" rel="index">Index</a>]</p>
</div>



</body>
</html>