summaryrefslogtreecommitdiffstats
path: root/tetris/tetris.6
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2015-02-19 02:27:30 +0000
committermrg <mrg@NetBSD.org>2015-02-19 02:27:30 +0000
commit087b6e7b7c1861c118eb976452acc50a866f916f (patch)
treec649f44b36a400aac5fadcbfbfd8ebeee3236c3c /tetris/tetris.6
parent98a029b0e4750f8ae37eac971d4d9bb2bf6baf44 (diff)
downloadbsdgames-darwin-087b6e7b7c1861c118eb976452acc50a866f916f.tar.gz
bsdgames-darwin-087b6e7b7c1861c118eb976452acc50a866f916f.tar.zst
bsdgames-darwin-087b6e7b7c1861c118eb976452acc50a866f916f.zip
add a 'down' key to tetris, defaulting to 'n'. it move the block down
a line, if it fits. like most other tetris games have. minor clean up of magic number usage while here.
Diffstat (limited to 'tetris/tetris.6')
-rw-r--r--tetris/tetris.610
1 files changed, 6 insertions, 4 deletions
diff --git a/tetris/tetris.6 b/tetris/tetris.6
index b0c67781..05e67588 100644
--- a/tetris/tetris.6
+++ b/tetris/tetris.6
@@ -1,4 +1,4 @@
-.\" $NetBSD: tetris.6,v 1.14 2014/07/15 16:17:15 wiz Exp $
+.\" $NetBSD: tetris.6,v 1.15 2015/02/19 02:27:30 mrg Exp $
.\"
.\" Copyright (c) 1992, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -32,7 +32,7 @@
.\"
.\" @(#)tetris.6 8.1 (Berkeley) 5/31/93
.\"
-.Dd July 13, 2014
+.Dd February 18, 2015
.Dt TETRIS 6
.Os
.Sh NAME
@@ -69,6 +69,8 @@ drop
pause
.It q
quit
+.It n
+down
.El
.Pp
The options are as follows:
@@ -84,11 +86,11 @@ The default control keys can be changed using the
option.
The
.Ar keys
-argument must have the six keys in order, and, remember to quote any
+argument must have the seven keys in order, and, remember to quote any
space or tab characters from the shell.
For example:
.sp
-.Dl "tetris -l 2 -k 'jkl pq'"
+.Dl "tetris -l 2 -k 'jkl pqn'"
.sp
will play the default games, i.e. level 2 and with the default
control keys.