NetBSD/games
atatat 60564f8ed0 Change -a to mean all files, as opposed to just a few more files.
Modify the regex handling so that we can match fortunes in rot13'ed
databases (rot13 the pattern and maintain a second compiled pattern)
and rot13 the rot13'ed fortune before output.

Move the rot13 code to a function since it's now used in three places
instead of just one.

Initialize posfile in one place since it appears to get used without
being initialized when using debugging.

Make a *slight* improvement to the random seeding by squaring the pid
and then xor'ing against the current time, since just xor'ing the time
with the pid will not change if they both advance by one from "odd" to
"even".
2001-08-15 17:25:42 +00:00
..
adventure eliminate redundant decls 2001-02-05 00:20:05 +00:00
arithmetic Whitespace and/or punctuation fixes. 2001-04-02 22:42:37 +00:00
atc existent', not existant' 2001-06-19 13:42:07 +00:00
backgammon Negative exit code cleanup: Replace exit(-x) with exit(x). 2001-04-06 11:13:45 +00:00
banner Fix problem noted in PR 6649 (trailing whitespace on .Nm) 2001-03-07 22:30:38 +00:00
battlestar existent', not existant' 2001-06-19 13:42:07 +00:00
bcd Remove unnecessary quotes in Dt. 2001-06-05 12:41:04 +00:00
boggle mdoc'ify, and clean up in the process. 2001-04-02 22:46:18 +00:00
caesar
canfield Whitespace and/or punctuation fixes. 2001-04-02 22:47:29 +00:00
countmail
cribbage Whitespace and/or punctuation fixes. 2001-04-02 22:42:37 +00:00
dm play(): use snprintf() instead of hard-to-parse strncpy() calls 2001-01-25 20:41:41 +00:00
factor Whitespace and/or punctuation fixes. 2001-04-02 22:42:37 +00:00
fish Whitespace and/or punctuation fixes. 2001-04-02 22:42:37 +00:00
fortune Change -a to mean all files, as opposed to just a few more files. 2001-08-15 17:25:42 +00:00
gomoku fix nested externs 2001-02-05 00:30:38 +00:00
hack Whitespace and/or punctuation fixes. 2001-04-02 22:42:37 +00:00
hangman
hunt receive, not recieve 2001-06-12 15:17:10 +00:00
larn - rename getchar to lgetchar to avoid conflicts with the stdio getchar 2001-02-05 00:57:32 +00:00
mille Negative exit code cleanup: Replace exit(-x) with exit(x). 2001-04-06 11:13:45 +00:00
monop seperate -> separate 2001-07-22 13:33:58 +00:00
morse
number
phantasia fix building of phantasia ($FILES dependency on $PROG broke things) 2001-06-06 17:34:19 +00:00
pig
pom Whitespace and/or punctuation fixes. 2001-04-02 22:42:37 +00:00
ppt
primes avoid strange typcast. 2001-01-20 15:06:34 +00:00
quiz Formatting improvements (from OpenBSD) 2001-07-11 16:11:36 +00:00
rain Whitespace and/or punctuation fixes. 2001-04-02 22:42:37 +00:00
random
robots Whitespace and/or punctuation fixes. 2001-04-02 22:42:37 +00:00
rogue Fix pasto. From FreeBSD. 2001-08-09 13:09:59 +00:00
sail Whitespace and/or punctuation fixes. 2001-04-02 22:42:37 +00:00
snake Whitespace and/or punctuation fixes. 2001-04-02 22:47:29 +00:00
tetris Whitespace and/or punctuation fixes. 2001-04-02 22:42:37 +00:00
trek seperate -> separate 2001-07-22 13:33:58 +00:00
wargames
worm
worms Whitespace and/or punctuation fixes. 2001-04-02 22:42:37 +00:00
wtf Whitespace and/or punctuation fixes. 2001-04-02 22:42:37 +00:00
wump
Makefile
Makefile.inc