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 Use setgid(), not setregid(). 2000-05-08 07:55:59 +00:00
canfield Whitespace and/or punctuation fixes. 2001-04-02 22:47:29 +00:00
countmail remove extra period in SEE ALL section 2000-07-05 15:45:28 +00:00
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 Use setgid(), not setregid(). 2000-05-08 07:55:59 +00:00
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 More include additions for exit, abs, strcmp, etc. 2000-07-03 03:57:39 +00:00
number Add use of `const' where appropriate to the games. 1999-09-08 21:17:44 +00:00
phantasia fix building of phantasia ($FILES dependency on $PROG broke things) 2001-06-06 17:34:19 +00:00
pig Fix -Wsign-compare warnings. 1999-09-18 19:38:46 +00:00
pom Whitespace and/or punctuation fixes. 2001-04-02 22:42:37 +00:00
ppt More include additions for exit, abs, strcmp, etc. 2000-07-03 03:57:39 +00:00
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 Define and use MAXRANDOM instead of LONG_MAX. 2000-01-18 16:12:25 +00:00
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 need an ${.OBJDIR} now 2000-01-25 21:41:18 +00:00
worm Use setgid(), not setregid(). 2000-05-08 07:55:59 +00:00
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 Use setgid(), not setregid(). 2000-05-08 07:55:59 +00:00
Makefile add wtf 1999-07-22 01:05:20 +00:00
Makefile.inc install games that need it setgid. 1997-11-20 00:12:30 +00:00