summaryrefslogtreecommitdiff
path: root/games
AgeCommit message (Collapse)Author
2001-02-04Long usernames. This really messes up the scoreboard printout, so changePaul Janzen
it from two columns to one column with leaders printed every third score to guide the eye across the vast whitespace that's left with the traditional 8-char usernames.
2001-02-04Be a little more careful with scanf() on the score filePaul Janzen
2001-02-04Remove -traditional-cpp and do some -Wall cleanups; from Chris K. YoungPaul Janzen
<cky@pobox.com> in PR 1652.
2001-02-04Tidy, avoid segfaults on unknown users, and deal with long usernamesPaul Janzen
2001-02-04Format for long usernamesPaul Janzen
2001-02-04Use strdup()Paul Janzen
2001-02-04Tidying: change a constant to a #define, stop logging hostnames with thePaul Janzen
score, use strlcpy(), and make it work with long usernames.
2001-01-28$OpenBSD$Niklas Hallqvist
2001-01-23Remove another useless machine/endian.h includeTodd C. Miller
2001-01-23Don't include machine/endian.h, closes PR 1642Todd C. Miller
2001-01-17avoid C sequence point issues; found by cgd@netbsd.org using a developmentPaul Janzen
version of gcc.
2001-01-08Remove description of removed code.Paul Janzen
2001-01-05correct incorrect correction; Paul Janzen <pjanzen@foatdi.harvard.edu>Todd T. Fries
2001-01-04spelling; $OpenBSD$Todd T. Fries
2001-01-04spellingTodd T. Fries
2001-01-04comment grammarTodd T. Fries
2001-01-04grammarTodd T. Fries
2001-01-04spellingTodd T. Fries
2000-12-21Eliminate tbl and groff warnings: ru@freebsd.Paul Janzen
2000-12-21grammar and accuracyPaul Janzen
2000-11-10seperate -> separate, okay aaron@Niels Provos
2000-09-26Improve handling of multiple commands on one line. Tidy fight parser.Paul Janzen
Handle "all" in one place (almost). Add AUXVERB category and OBJ_PERSON/ OBJ_NONOBJ flags. Most was discussed with jsm@netbsd.org, and some is from him.
2000-09-26No shell escapePaul Janzen
2000-09-24hyphenatePaul Janzen
2000-09-24numerous changes from jsm@netbsd.org:Paul Janzen
static where appropriate, add a few comments, format a bit better, and deal with WEIGHT/CUMBER being zero (and not less).
2000-09-23drop adjectives in parse(), since they're never used.Paul Janzen
tidy a little. fix love() a bit. From conversations with jsm@netbsd.org: Add objflags[] to deal with plurals and a/an usage. Commas don't mean AND if followed by a verb. Check for object presence before trying to lift or eat it.
2000-09-23die() if stdin disappears, rather than just exiting; jsm@netbsd.org.Paul Janzen
dump the end of the buffer if an input line was too long.
2000-09-23off by one; jsm@netbsd.orgPaul Janzen
2000-09-21formatting; from NetBSDPaul Janzen
2000-09-21Fix -W warnings and add room number comments; jsm@netbsd.orgPaul Janzen
2000-09-17Fewer segfaults ("take all and all", "wear wear"), better parsingPaul Janzen
(e.g. disambiguation of "drop body"). Also, use "a" or "an" correctly, don't overflow the words array, and don't kick items you're wearing.
2000-09-08bools should only be TRUE or FALSE. Negative numbers are right out.Paul Janzen
2000-08-20correct Bloom County quotePaul Janzen
2000-08-05Remove a little redundant and slightly wrong codePaul Janzen
2000-08-05typo; cheddar@yakko.cs.wmich.eduTheo de Raadt
2000-08-02$HOME paranoia: never use getenv("HOME") w/o checking for NULL and non-zeroTodd C. Miller
2000-07-24Rename move() to moveplayer() to avoid clashing with curses;Paul Janzen
from mycroft@netbsd.org
2000-07-24printf() and %s pedantry, from itojun channelling kris@freebsdPaul Janzen
2000-07-23Handle EOF on stdin.Paul Janzen
2000-07-23curses.c is all ifdef'ed out, so there's no reason to compile it.Paul Janzen
2000-07-23oopsPaul Janzen
2000-07-23Die more cleanly if stdin can't be read from.Paul Janzen
2000-07-23Code cleanups (some from NetBSD), typo fix.Paul Janzen
Don't barf if stdin hits EOF. Install cfscores in /var/games if one isn't already there.
2000-07-23Avoid calling functions that can call the exit-on-error handler from thePaul Janzen
handler; use STD*_FILENO rather than 0-2.
2000-07-05nanosleep() no longer returns earlyPaul Janzen
2000-07-03Remove duplicate and correct original: Anton Berezin <tobez@tobez.org>Paul Janzen
and Martin J. Laubach <mjl@netbsd.org>
2000-07-03A little more select() reinitialization.Paul Janzen
2000-07-03Finding bugs in battlestar is like shooting fish in a barrel.Paul Janzen
Don't overflow beenthere[]. Add "verbose" option. Fix spelling (including embedded hyphens in descriptions) and grammar. "Kill" will now use the laser if you have no cutting implements. Formatting. You can do more things to the bathing goddess. A little less guess-the-word. Occasionally better error messages, particularly with "all" when nothing applies. "kick door" no longer segfaults. Nor does "kill door". More bugs remain...
2000-06-30re-initialize timeout before each invocation of select()Paul Janzen
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
constant). These are not security holes but it is worth fixing them anyway both for robustness and so folks looking for examples in the tree are not misled into doing something potentially dangerous. Furthermore, it is a bad idea to assume that pathnames will not include '%' in them and that error routines don't return strings with '%' in them (especially in light of the possibility of locales).