Debian Codegraph @

texmf-dist/doc/latex/othello/othello.tex

raw
1 \documentclass[12pt,twoside]{report}
2
3 \usepackage{othello}
4 \usepackage{graphicx}
5 \usepackage{makeidx}
6 \usepackage{floatfig}
7
8 \include{boards}
9
10 \makeindex
11
12 \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}\cleardoublepage}}
13 \begin{document}
14 \initfloatingfigs
15
16 \title{Introduction to Othello}
17 \author{M. le Comte}
18 \maketitle
19
20 \clearemptydoublepage
21 \chapter{preface}
22 This manual is intended as an introduction to the game Othello. It
23 has been written using Latex, using a package called othello.sty.
24 This package is used to create all Othello pictures in this
25 manual. For more information, see the last chapter. If anyone has
26 any suggestions or remarks on either the package or the content of
27 this manual, please mail me at [email protected]
28 \clearemptydoublepage
29 \tableofcontents
30 \chapter{A short introduction to Othello}
31 \section{The history of Othello}
32 \section{The rules of Othello}
33
34 \subsection{Starting the game}
35 \begin{figure}[h]
36 \startposition
37 \end{figure}
38
39
40 Othello is a game that is played on a $8\times 8$\ board using
41 stones that are black on one side, and white on the other.
42 One player uses the black side of the stones, the other the white sides.
43 The starting position is as follows: four stones are placed in the middle, two
44 white and two black, each color getting a diagonal. Thus the
45 starting position is as in figure 2.1. The player using the black
46 stones always makes the first move. The players take
47 turns placing a stone. Following standard Othello notation, we will number
48 the rows by $1\ldots 8$\ and the columns by a$\ldots$h. For
49 example, the begin positions for black are d5 and e4, and for
50 white d4 and e5. In addition, we will also use ``compass''
51 directions, i.e. west when we mean the left side of the board,
52 north for the upper side etc. There are a few places on the Othello
53 board that are important enough to deserve a special name. The
54 squares a1,a8,h1 and h8 are called the \index{corners}corners. There are 3 squares
55 adjacent to a1, two of which are on the edge of the board (a2 and
56 b1). These two stones are called C squares\index{C square}. The third square,
57 situated on the diagonal, i.e. square b2, is called an \index{X square}X square.
58 The same notation also applies for the other corners, so there are
59 4 X squares and 8 C squares. (A mnemonic: the two diagonals form
60 an X) Figure \ref{cornerpositions} shows these special stones.
61
62 The four squares already occupied in the starting
63 position are called the center squares, for obvious
64 reasons.\index{center squares}
65
66 \begin{figure}[ht]
67 \cornerpositions
68 \end{figure}
69
70
71 \subsection{Making a move}
72 At his turn, a player must place one of his stones on the board. He may
73 place a stone on one of the empty squares of the board, adjacent to
74 a disk of the opponent. In addition, the stone also must flank one or more of
75 his opponent's disks between his new stone and one or more of his
76 other stones which already are on the board. He then changes the stones
77 of the opponent which were flanked to his color, by flipping the stones.
78
79 \begin{figure}[h]
80 \makingamove
81 \end{figure}
82 As mentioned, the black player is the first to move. His valid moves are
83 c4,d3,e6,f5. These squares are shown in figure \ref{makingamove},
84 where X marks the spot.
85 Suppose that he chooses c4, then the white disk d4 is flipped to black, and then it is
86 white's turn to move. White now has 3 different spots to place his disk, c3, e3
87 and c5. If he chooses c3, the situation then becomes as figure \ref{validmoves}.
88
89 \begin{floatingfigure}{4cm}
90 \validmoves
91 \end{floatingfigure}
92 Note that disks which are flipped may not be used to flip even
93 more disks in the same turn. For example: if we have the board
94 from figure \ref{fliponlyonce}, and suppose that white has to make
95 a move. The choices for white are d3 and e3. Both moves will flip
96 3 of the black stones, and the fourth one will be completely
97 surrounded by white stones, but it will not be flipped.
98 \begin{figure} [ht]
99 \fliponlyonce
100 \end{figure}
101
102 \subsection{Passing} If a player can not make a move that flips at least one of his
103 opponents disks, then he has to pass. If he is able to make a valid move however, then
104 passing is not allowed. It is possible that a player has to pass several times
105 before he can make a move again.
106
107 \subsection{The end of Othello}
108 The game ends when neither player can make a valid move. This usually happens
109 when all 64 squares are filled, but
110 sometimes it ends earlier. The stones then are counted. The winner is the player who has more discs
111 then his opponent. If both players have 32 stones, then it is a draw.
112
113 Looking at figure \ref{fliponlyonce}, you can see that the white
114 player can easily win. After either of his moves, the black player
115 has only remaining stone. It does not matter which move black
116 makes, the white player can always flank all the stones in the
117 next turn. This is an example where the game ends before the board
118 is completely filled.
119
120 \clearemptydoublepage
121 \chapter{The strategy of Othello}
122 \section{The maximum disk strategy}\index{maximum disk strategy}
123 Playing Othello is like every game that is not based entirely on luck, if you want
124 to win, you need a strategy. The most obvious strategy is not always the best
125 though. When people first learn to play Othello, they are usually tempted to get
126 as many stones they can, whenever they can.
127 This strategy is known as the maximum disk strategy.
128 \begin{floatingfigure}{4cm}
129 \maximumdisk
130 \end{floatingfigure}
131 Having many stones in the beginning is
132 not at all a guarantee that you will win in the end however! Consider for example
133 the position in figure \ref{maximumdisk}.
134 White has 46 stones and black only 2, with 16 remaining moves.
135 White however is very limited in its moves, which allows black to
136 force white into making less then perfect moves. If black plays
137 all moves right, and white plays the best possible moves too, then
138 white will end up with all the corners, but black will have 46
139 stones. You may want to try to find the best play yourself, a
140 solution in which black wins is not that hard, but 46 stones is a
141 little
142 puzzle\footnote{Solution:b2,a1,b1,-,a2,-,b7,a8,a7,-,g2,h1,g1,-,g8,h8,b8,g7,h2,-,h7}
143 (the answer is given at the bottom of the page).
144
145 There are several reasons why the maximum disk strategy usually fails. The two most
146 important reasons are stable disks and mobility. The next sections will deal with these
147 notions.
148 \subsection{Stable disks}\index{stable disks}
149 Let's start with stable disks. Stable disks are disks that can not
150 be flipped by the opponent. Good examples of stable disks are
151 corner stones. There is no way that an opponent can flip one of
152 your cornerstones, so acquiring a corner stone in the beginning of
153 the game, or in the middle part even, usually means that you will
154 be able to use that corner to gain a lot of stable disks and thus
155 win the game. Examples of stable stones are given in figure \ref{stablestones}
156
157 \begin{figure}[h]
158 \stablestones
159 \end{figure}
160
161 Looking back at the example in figure \ref{maximumdisk}, we see that
162 white has 46 stones, but not one of these disks is stable. Thus black is able to turn a lot of
163 the disks into black disks.
164
165 To see an example of the opposite situation: suppose that white also was able to completely
166 capture one of the corners, leading to the situation \ref{stabledisks} .
167 \begin{figure}[ht]
168 \stabledisks
169 \end{figure}
170 Now the white stones in the north-west corner are completely safe,
171 white has 21 stable stones in this situation. Black can still gain
172 more stones then one would expect, but the dramatic change to 46
173 stones is gone. In fact, assuming perfect play, the end result
174 will be 35 stones for white, and 29 for black. Once more, it is a
175 nice puzzle to find the best way to play\footnote{Solution:
176 b7,a8,a7,-,b8,-,g7,h8,g8,-,h7,-,g2,h1,h2,-,g1}.
177
178 \section{Mobility}
179 Besides the lack of stable disks, white has another problem in our
180 maximum disk problem. Looking at the maximum disk figure once
181 more, we see that white can't make a move. It is this fact that
182 allows black to force white into making bad moves. This brings us
183 to the notion of \index{mobility}mobility. One could say that mobility is the
184 amount of moves that a player can make. Thus, someone with a low
185 mobility only has a few options to choose from, while someone with
186 high mobility can place a stone in a lot of different places.
187 Before refining the definition, let's look at another example of
188 why mobility is important.
189 \begin{floatingfigure}{4cm}
190 \mobilityexampletwo
191 \end{floatingfigure}
192 In figure \ref{mobilityexampletwo} we
193 see a position in which black has enclosed white. Again, this is
194 an extreme example of mobility difference, since black can make no
195 valid moves and white a lot. This situation can be used by white
196 to force black into making one or more bad moves. As an exercise,
197 loot at the position now and try to find sequence of moves that
198 will give white a corner. I hope you have done your ``homework''
199 by now, so lets look at the position together.
200
201 \noindent\textbf{Analysis:} White in total
202 has 13 squares to place his stones. We want to force black however
203 so we cant place our stone somewhere where it gives black multiple
204 options. Basically this only leaves us the north side, since all
205 the other options offer black at least two moves. So now we only
206 have to consider the five possible moves on the north side. We can
207 scratch one move immediately, namely g1.
208
209 Suppose we did play g1,
210 then black would play f1 and would thus have gained a corner in
211 the next round instead of white.
212
213 Another move that does not lead
214 to our objective is e1. Black then plays f1, and then white either
215 moves to b1, which opens the move c2 to black, or to one of the
216 squares towards the east, west or south side and we already know
217 that this gives black more options. Thus e1 does not lead to a
218 good way of forcing black.
219
220 Starting with either b1 or f1 basically leads to the same end
221 pattern, but a different corner. Lets look at b1 first. This leads
222 to the sequence b1,c1,e1,f1,g1,g2. The situation has changed to
223 figure \ref{mobiuitween}.
224 \begin{figure}
225 \mobiuitween
226 \end{figure}
227 Technically we do not have a corner yet,
228 but black was forced to place a stone at the X square g2, and this
229 enables white to take the h1 corner for sure in this case. g4 for
230 example provides a place on the diagonal. Of course, sometimes
231 white wants to wait before actually taking the corner, to make
232 things even more profitable, but this was a good example of using
233 black's limited capability to move to get a corner.
234
235 If we place f1 first, then the sequence becomes f1,e1,c1,b1,b2 and
236 again black is forced to take an X square.
237
238 The last possibility, and the most effective one, starts at c1.
239 Black has to take b1, and white can answer with f1. Black's only
240 option is to take e1, and white now directly can take a1.
241
242 We have seen how white can gain a corner from this situation. This
243 does not mean that c1 is the best move overall though. Try this
244 position out against a computer to try out several options and you
245 will find that f5 is the best choice. After all, we're out to have
246 the most stones in the end, and corners are a possible way to
247 obtain that goal, but capturing corners is not always the best
248 way. Playing f5 and subsequent moves will cause black to worsen
249 its position even further before white will actually grab a
250 corner.
251
252 \subsection{Frontiers}\index{frontiers}
253 Mobility is al about gaining many possible moves while reducing
254 the possible moves of the opponent. Our previous examples gave
255 extreme positions in which one color was completely surrounded by
256 corners of the opponent. In general, both colors will have stones
257 adjacent to one or more empty squares. These stones are called
258 frontier stones. If several frontier discs adjacent to each other
259 are of the same color, then we call it a frontier.
260 \begin{figure}
261 \frontierstones
262 \end{figure}
263 Figure \ref{frontierstones}
264 shows one large black frontier, and two smaller white frontiers.
265 A large frontier can be very limiting for a player, since he can
266 not make moves along his entire frontier. If white would play
267 h3,h4 or h5 in figure \ref{frontierstones}, then that move would
268 basically limit white to moves on the south and east side of the
269 board. Similarly, black can only make moves in the north and east
270 side of the board.
271
272 The basic idea of mobility was to gain as
273 many possible moves while limiting the opponent's moves. Since
274 frontiers block your moves, a general rule for placing stones is
275 that you try to place stones in such a way that you have as little
276 frontier disks as possible. We'll look at two examples to see how
277 the notion of frontiers works in regular games.
278
279 \begin{floatingfigure}{4cm}
280 \frontiermoveone
281 \end{floatingfigure}
282 \textbf{Example 1: }The first example is the situation given by
283 figure \ref{frontiermoveone}. In this case, white has quite a
284 large frontier (from c6 to h4) while black hardly has a frontier.
285 Black would like to make a move which keeps its own frontier small
286 and, if possible, white's frontier even larger. One move that
287 would \textbf{not} accomplish this is h6. In this case, black
288 almost completely takes over the frontier by flipping 5 of the white
289 frontier stones. In contrast, the move c7 also flips 5 white
290 stones, but only adds on frontier stone. Even more important,
291 this frontier stone c7 does not offer white any good
292 possibilities, since it only opens the option to either an X or a
293 C square.
294 \newpage
295 \begin{figure}[h]
296 \frontiermovetwo
297 \end{figure}
298 \textbf{Example 2: }
299 Figure \ref{frontiermovetwo} shows a game in an earlier stage of
300 the game. Lets assume that black is the one to move. He already
301 has a larger frontier then white has, so it is important that the
302 frontier does not grow any further. The move e6 is a disastrous as
303 h6 was in the previous example, so the possible moves are f2 until
304 f6. The moves f3,f4 and f5 also lead to a large black frontier, so the only real options are to
305 play either f2 or f6.
306
307 There are moves that do not add to the frontier. These moves are
308 quiet moves. They usually are the best options to play when
309 possible. One example is figure \ref{quietmove},\index{quiet moves} where black can
310 play d4. This move does not open any new options for white to
311 play, whereas white has no official quiet move after that. White
312 does have one unofficial quiet move, a3. It is unofficial since it
313 opens two new moves for black, but both options are so bad that
314 black has gained no real options.
315 \begin{figure}[h]
316 \quietmove
317 \end{figure}
318
319 \subsection{Tempo}\index{tempo}
320 Mobility is about reducing the opponents amount of possible
321 squares while not running out of your own options, and this leads
322 to the notion of tempo. Basically, if you can make a move which
323 does not create a new possibility for your opponent and your opponent can't, then you have
324 lowered his mobility. This is called: gaining a tempo. Quiet moves
325 are nice examples of this notion. Gaining tempo's is a good thing
326 since your opponent is forced to increase his frontier, thus
327 lowering mobility. A nice example is figure \ref{tempo}.
328 \begin{figure}[ht]
329 \tempo
330 \end{figure}
331
332 White can play b1,f1,g1 and black has to make 3 moves as well. The
333 only option created by whites moves is b2 or g2, both X squares. Black does
334 not want to play there, so he is forced to flip the three white
335 stones c6,d6 and e6 in the three turn. After these three moves,
336 white has no frontier except for c2 and f2, and black is in
337 serious trouble.
338
339 Moves that allow tempo gaining are very strong, but that does not
340 mean that you have to play them right away. Most of the time,
341 saving these moves until you really need them tends to make them
342 even stronger.
343
344 \section{Wedges}\index{wedges}
345 A wedge is a situation where a player places a stone between two
346 stones of his opponent, in such a way that he ``wedges'' those two
347 stones. For example, if white plays a4 in figure \ref{wedge}, then
348 he places a wedge between the black stones on the first column.
349 \begin{figure}[h]
350 \wedge
351 \end{figure}
352
353 Wedges are powerful stones when it comes to capturing corners. In
354 the example, white can take both corners. Another situation in
355 which wedging often occurs is the one in figure \ref{wedgetwo}.
356 White can play b2 in this case, thus sacrificing the a1 corner.
357 However, if black plays a1, then white can make a wedge by playing
358 a2, and after that a8. In this case, black has gained a corner,
359 and secured the first column, but white has gained a corner too
360 and also the first row. This particular type of wedging is often
361 used when sacrificing a corner. An edge that permits this kind of
362 wedging is also known as an unbalanced edge.\index{unbalanced edge} When playing Othello
363 in the begin stage of the game, it is usually wise not to try and
364 grab edges because they usually end becoming unbalanced edges and pose a
365 threat in the middle and end stage.
366 \begin{figure}
367 \wedgetwo
368 \end{figure}
369
370 \section{Unbalanced edges and stoner traps}
371
372 \section{Parity and passing}\index{parity}
373 In general, if a game is played without either of the players
374 passing, white places the last stone on the board. This offers a
375 slight advantage. If white has to pass once however, then parity
376 changes to black's advantage. In the end game, usually certain
377 holes on the board remain, consisting out of 1 to 4 empty squares.
378 For example, look at figure \ref{parity}.
379 \begin{figure}[ht]
380 \parity
381 \end{figure}
382
383 Black has to play and there is only one way to win, assuming
384 perfect play from white of course. Try to find the solution before
385 reading on. The solution is a1,g2,b1,g7,h8,b2,h1,h2. The finishing
386 blow of this solution lies in the fact that white has to pass
387 after the h1 move. Although white has 46 stones with only
388 two moves left, black still wins, mainly because of the parity
389 change.
390
391 In general, if there is an odd number of empty spaces, parity can
392 change, while even number of empty squares usually preserve
393 parity.
394
395 One more example: the end position of a game between J. Lysons and
396 E. Lazard at the Cambridge tournament in 1984 is given in figure
397 \ref{paritytwo}. Black has to play and draw. Once more, try to
398 find the solution before looking at the analysis.
399 \begin{figure}
400 \paritytwo
401 \end{figure}
402
403 \noindent\textbf{Analysis:} Black has to move first, 8 squares are
404 empty, so at this moment white gets to make the last move. There
405 is one empty place with an even amount of squares, and 2 odd. Of
406 course, we're not only focusing on parity alone, all the other
407 ideas we have seen so far are in place. White cant play inside the
408 north-west corner, so we'll stay away from that place. Why? There
409 are 5 other empty squares. Regardless of what player makes the 5th
410 move, black can always start in the north-west corner and also
411 gets the last move. This guarantees our parity advantage, which is
412 what we want. So lets look at the remaining 5 empty squares. G7 is
413 a very good winner, since black then immediately gains 8 stable
414 stones. White has to move, basically has to choose between b7 and
415 b8. White will play b8, otherwise black can win 33-31 by playing
416 b2,b8,a8,a1,a7,a2. Black can now take the corner a8. White has to
417 play a7, otherwise we can win 35-29. And we're done. B7 creates a
418 few more stables disks. White has to pass, so we can make the
419 final move. Counting stones shows that the next move is b2. White
420 has no choice but to play a1 (otherwise black wins with 34-30),
421 and a2 brings the score to 32-32.
422
423 Once more: this example, like the others, has been chosen to illustrate the
424 definitions that we have discussed, and not every end game works
425 according
426 to these rules. It is up to you to determine what plan works best.
427 There are games where you can gain parity, but it will cause you
428 to lose the game. In these cases, forget parity. You're in it for
429 the stones, not for your knowledge of funny concepts :)
430
431 \section{Beginning Othello games}
432 Keeping the idea of mobility as standard strategy in mind, we can
433 give the following rules of thumb for openings in Othello:
434
435 \begin{itemize}
436 \item Try to have fewer discs than your opponent.
437 \item Try to occupy the center of the position (the 4 center-squares in the first few moves).
438 \item Avoid flipping too many frontier discs (those located on the outside boundaries of the position, i.e. avoid
439 building walls).
440 \item Try to group your discs into one connected cluster rather than having several scattered isolated discs.
441 \item Avoid taking edges too soon (before the mid-game).
442 \end{itemize}
443
444 Mind that these rules are not carved in stone, but they apply very
445 well for most of the games. In fact, they do not only apply to
446 openings, but also to the middle section of the game.
447
448 The first and third rule immediately follow from mobility
449 arguments. The fourth rule, combined with the second, is partially fixed on the
450 idea that if your stones are scattered, then keeping a small
451 frontier is hard. Why? If you place a stone, then you have other
452 stones all over the board, causing lots of stones to flip. The
453 fifth rule has already been mentioned. If you take edges too soon,
454 then you usually end up with an end game in which you have several
455 unbalanced edges, and you opponent is playing with a wide smile on
456 his or her face.
457
458 Using these general rules, one nice description of how to play is
459 ``to try to get enclosed''. This also is known as: ``curling into
460 a ball''.
461
462 \subsection{Creeping along the edges}
463 As with every rule, how flexible they may be, there are always
464 exceptions. One strategy, that can be wonderful or disastrous
465 (really, really disastrous), is the ``creeping along edges''
466 strategy. What is this strategy about? Instead of trying to have
467 the opponent enclose you while you are a small cluster of stones
468 in the middle of the board, you try to gain control of one or two
469 edges. You try to gain a lot of tempi while doing so, to leave
470 the opponent in a position where he has no free moves when you
471 have the edges. After that you force the opponent to sacrifice a
472 good corner and you are set. The one problem with this strategy is
473 that if the opponent is able to have one move left after you have
474 the edges, then you basically can just give up. So either you win
475 by using a daring short term strategy, or you lose big time because
476 your position offers no long term prospects.
477
478
479 \section{Standard openings of Othello}
480 Once you have grasped all the ideas presented in this manual, and
481 are quite familiar with them, you will find that Othello games
482 generally move into certain stages. There is an opening stage of
483 about roughly 20-26 moves, a middle stage and and end stage
484 (starting somewhere between 16 to 10 moves before the end). The
485 end game is a matter of good calculating using the concepts given
486 and also practice (the freeware program Icare is \textbf{great}
487 for practicing Othello games). The middle game is also about
488 rules, directed more at how to attack edges and gaining tempi.
489
490 The opening of Othello roughly obeys the rules mentioned before,
491 but this may not be enough against really experienced players. For
492 example: there are positions in which all the rules can not help
493 you determine what move to make. Your opponent may know what move
494 is better simply because he has played both options several times
495 and found out that one move simply works out better in the long
496 run. Fortunately you can tap into the common Othello openings
497 source of the last decade. Almost any Othello game played on
498 tournaments is collected in the Thor database.
499
500 Furthermore, Robert Gatliff
501 has made a huge list containing standard openings and the
502 percentage in which each is played. This knowledge is collected in
503 a Java programme, so that you can easily learn standard openings.
504 The occurrence percentage allows you to learn the openings that
505 are played most first, and after that to continue into the more
506 obscure ones. A small tip: try to learn like 3 openings at first,
507 and learn them well (like 20 moves deep, with several variances),
508 before going on.
509
510 So, to sum it all up, there are three programs that can help you
511 advance in Othello (besides playing humans of course). Luckily
512 they are all free to download, so do not hesitate and get hooked.
513 \begin{itemize}
514 \item For openings, get the java applet based on Robert Gatliff's list.
515 \item For end games, use Icare. You can vary from 6 until 12 empty
516 squares, starting from positions that really have occurred.
517 \item For games in general, practicing mid game and analyzing
518 games you played vs someone else, use Wzebra. You can also use it
519 to import Thor databases and study other games.
520 \end{itemize}
521
522 Also, playing human adversaries is a world apart. There are
523 several places where you can meet other people. Common places are:
524 \begin{itemize}
525 \item
526 IOS (the Internet Othello Server) which has a very strong player
527 base
528 \item Vog (www.vog.ru) which has a very nice graphical layer for
529 $\$24$ a year.
530 \item The Zone (www.zone.com/reversi), microsoft's server, for
531 free. The Zone has several rooms, for beginners and more advanced players.
532 \item Yahoo
533 \end{itemize}
534
535
536 \chapter{\LaTeX\ and Othello}
537 The pictures in this manual have been created using the
538 \textbf{Othello} package for \LaTeX. I have created this package
539 by modifying the \textbf{go} package by Hanna Kolodziejska. Thus,
540 the commands to use are quite similar as for go. A short list of
541 possible commands:
542 \begin{itemize}
543 \item {\verb|\gofontsize{size}|} This command determines the font for
544 the board. Standard values are 10,15,20.
545 \item
546 {\verb|\inifulldiagram|} This creates a board, you use this to
547 start. When including the Othello package, a first board is
548 initialized immediately, so this command is only needed when you
549 want to make more then one board.
550 \item
551 {\verb|\inidiagram{let1}{let2}{num1}{num2}|} This cleans the
552 current board specified by rows let1 to let2 and columns num1 to
553 num2. This can be used to make small modifications to a filled
554 board for example.
555
556 \item{\verb|\pos|}\{letter\}\{number\}={\verb|\color|}\{marking\} This command places a
557 stone onto the position denoted by (letter, number), where letter
558 denotes the row, and number denotes the column , color is either
559 black,white or neutral. If the color is either black or white,
560 then the argument is a dot or a number ranging between 1 and 64. A
561 dot represents a regular stone, while a number shows a stone that
562 is numbered. The color neutral is meant to insert a character onto
563 the board without drawing a stone. Besides the numbers 1 to 64,
564 neutral also recognizes the arguments 65 and 66 to draw an X or a
565 C respectively. These options have been added for the example of
566 special stones (chapter 2).
567
568 Example: {\verb|\pos|}\{b\}\{5\}=\hbox{\verb|\black|}\{.\}
569 gives a plain black stone on row b, column 5.
570
571 Example: {\verb|\pos|}\{b\}\{5\}=\hbox{\verb|\white|}\{21\} gives
572 a white stone on b5, with the number 21 inside.
573
574 \textbf{Warning:} Othello moves usually are described in
575 letter/number combinations where the letter denotes the column and
576 the number the row, i.e. reversed from Othello package. This is
577 because I modified an existing package, and do not have enough
578 \TeX\ knowledge yet to make a clean switch. Thus,
579 if you want to make a picture of a written
580 transcription and it says : black puts a stone on e2, you'd have
581 to define the position as b5. If anyone with sufficient knowledge
582 and time wants to look at othello.sty, I'd be more then happy (if
583 you do not want to translate all positions, just follow the
584 original transcription since the position will only come out
585 reflected in the diagonal from the left upper corner to the right
586 bottom corner. The idea of the game is the same though.)
587
588 \item{\verb|\showfulldiagram|} This shows the full diagram made so
589 far. You can add more moves after this and reuse this command to
590 show the latest version of the board.
591 \end{itemize}
592
593 \noindent A short example to illustrate the commands, the commands to create
594 the opening position for Othello:
595 {\obeylines
596 {\verb|\inifulldiagram|}
597 {\verb|\gofontsize{10}|}
598 {\verb|\pos{d}{4}=\black{.}}|}
599 {\verb|\pos{e}{5}=\black{.}|}
600 {\verb|\pos{d}{5}=\white{.}|}
601 {\verb|\pos{e}{4}=\white{.}|}
602 {\verb|\showfulldiagram|}}
603
604 A last example will show all different kind of characters for an
605 Othello board.
606
607 \begin{figure}
608 \overviewboard
609 \end{figure}
610
611 In the go package, a feature has been added to show only parts of
612 the board, since go boards are rather large. Since Othello boards
613 are only 8x8, this is not necessary in general, but the option
614 still exists. To use this option, use the command
615 {\verb|\showdiagram|}row1-row2:column1-column2, instead of
616 {\verb|\showfulldiagram|}. For example: the northwest corner of
617 the overview board is given by:
618
619 \begin{figure}
620 \overviewboardcorner
621 \end{figure}
622
623 As mentioned: this package has been created using the go package
624 as a basis. There still are 2 things to improve, but unfortunately
625 I am not a \TeX\ or metafont guru (yet). If anyone knows how to
626 either:
627 \begin{itemize}
628 \item make prettier metafont definitions for the X and C
629 \item change the position definition in such a way that the position
630 command uses the same co\"ordinates as the standard Othello
631 notation
632 \end{itemize}
633 then I would be more then happy to hear from you.
634 \printindex
635 \end{document}