[comp.sources.games.bugs] quiz mode in nobs

gls@odyssey.att.COM (Col. G. L. Sicherman) (02/12/91)

The other day I discovered a gross bug in the quiz mode of "nobs."
I've fixed it and added a prompt between questions.  If you want
version 1.4 of nobs, just send a stamped, addressed E-mail message
to gls@odyssey.att.COM.

In case you do not know what nobs is, here is the "man" page for it:

.de QU
.ie t ``\\$1''\\$2
.el "\\$1"\\$2
..
.TH nobs 6 "5 July 1988" "" "Local UNIX Programmer's Manual"
.SH NAME
nobs \- cribbage game
.SH SYNOPSIS
.B nobs
[
.B \-s
]
.if '\*(nh'' \{\
.B \-h
] [\}
.B \-q
] [
.B \-v
]
.SH DESCRIPTION
With no arguments,
.I nobs
plays screen-oriented games of cribbage with you.
You select cards by typing a letter from
.QU a
to
.QU f .
The program keeps score.
Game is 121 points,
or 61 if you specify
.BR \-s .
You can quit by typing
.QU q
at any prompt.
.PP
.if '\*(nh'' \{\
If you specify
.BR \-h ,
.I nobs
will offer you hints on discarding.\}
If you specify
.BR \-q ,
.I nobs
will give you a quiz on discarding.
If you specify
.BR \-v ,
.I nobs
prints the version number and exits.
.SH WARNING
This program has been around a long time, having started out 
in FORTRAN on a CDC 6400.
It is a dangerous opponent.
.SH AUTHOR
G. L. Sicherman  (att\^!\^odyssey\^!\^gls)
-- 
Col. G. L. Sicherman
gls@odyssey.att.COM