From 087b6e7b7c1861c118eb976452acc50a866f916f Mon Sep 17 00:00:00 2001 From: mrg Date: Thu, 19 Feb 2015 02:27:30 +0000 Subject: 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. --- tetris/tetris.6 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'tetris/tetris.6') 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. -- cgit v1.2.3