aboutsummaryrefslogtreecommitdiff
path: root/nmm.6
blob: eb200c6520e4998c0f7c2d47d9afa3a0b163bf3e (plain) (blame)
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
.\" Copyright (C) 2013 Ryan Kavanagh <rak@debian.org>
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\"    notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\" 3. The name of the author may not be used to endorse or promote products
.\"    derived from this software without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
.\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
.\" AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
.\" THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
.\" EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
.\" PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
.\" OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
.\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.Dd March 07 2013
.Dt NMM 6
.\" Bad bad bad, I know, the .Os field is supposed to specify the OS
.\" and its version, not the command and its version.
.Os nmm 1.0~beta1
.Sh NAME
.Nm nmm ,
.Nm tmm ,
.Nm twmm
.Nd Nine, Three, and Twelve Men's Morris
.Sh SYNOPSIS
.Nm nmm
.Nm tmm
.Nm twmm
.Sh DESCRIPTION
Nine Men's Morris is an ancient board game, alleged to have been
played by the Romans. Gameplay is similar to Tic-Tac-Toe, with users
placing pieces in attempt to form three in a row, except that players
can additionally move their pieces and remove their opponents pieces.
.Pp
The board consists of positions connected with dashed lines, initially
marked empty (E), but then filled with black (B) and white (W) pieces.
Players place, move, and remove pieces, and the winner is the first to
reduce the opponent to 2 pieces. Gameplay is split into three phases.
.Ss Phase 1
Users alternatingly place a piece on the board, until each player has
placed 3 (tmm), 9 (nmm), or 12 (twmm) pieces. The location is selected
by entering its coordinates,
e.g\&.
.Sq a1
or
.Sq g7  .
A mill can be formed by aligning three pieces along a dashed line, at
which point an opponent's piece is removed. This piece is selected by
entering its coordinates.
.Pp
.Ss Phase 2
Users alternatingly slide one of their pieces along dashed line to an
adjacent empty position. The piece is selected by entering its
coordinates and its direction is chosen from n s e w ne nw se sw, for
North, South, East, West, North East, North West, South East, South
West (ne\(emsw are only available in twmm). Note that to move in a
direction, there must be a dashed line emanating from the piece in
that direction. For example,
.Sq a1n
moves the piece at a1 north,
.Sq g7sw
moves the piece at g7 south west. Mills are formed and pieces removed
as in phase 1.  Phase 2 continues until one player only has 3 pieces
remaining.
.Ss Phase 3
The player with three pieces may move a piece to any empty
location, e.g.
.Sq a1g7
moves the piece at a1 to location g7. The player with more than three
pieces moves as in Phase 2. The first player to reduce the opponent
to two pieces wins.
.Ss During game play
Press
.Sq \&?
at any time to display instructions. Press
.Sq q
to quit.
.Sh EXIT STATUS
.Ex -std
.Sh AUTHORS
.Sy nmm
is Copyright \(co 2013
.An Ryan Kavanagh
.Aq Mt rak@debian.org
and is distributed under a BSD-style license.
.Sh BUGS
None known.