summaryrefslogtreecommitdiff
path: root/games/snake
AgeCommit message (Collapse)Author
2014-11-18Nuke some obvious #include duplications.Kenneth R Westerback
ok espie@ deraadt@ millert@ tedu@
2014-11-16Eliminate pointless use of <sys/param.h>, <sys/file.h>, <sys/sockio.h>,Philip Guenther
and <sys/ttydefaults.h> Replace MAXPATHLEN with PATH_MAX and MAXLOGNAME with LOGIN_NAME_MAX Pull in <limits.h> where needed Prefer sizeof(var) over MAXFOO or FOO_MAX ok deraadt@
2013-08-29replace srandomdev()+random() with the arc4random*() familyChristian Weisgerber
tweaks and ok millert@, ok deraadt@
2009-11-13no need for seperate snscore command; ok pjanzenTheo de Raadt
2009-11-13Correct fix for rev 1.8 from pjanzen.Jonathan Gray
2009-11-131.8 broke things, back it out, correct fix coming from pjanzenJonathan Gray
2009-11-12fix an off by one in loop terminationJonathan Gray
found by parfait ok deraadt@
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2007-05-31convert to new .Dd format;Jason McIntyre
2007-04-02tidy up synopsis and usage(); from Igor SobradoJason McIntyre
2006-03-27assorted fixes mostly from coverity via netbsd via jasper adriaanse via techTed Unangst
2006-03-15Remove useless getuid() check.David Hill
OK moritz@ jaredy@
2005-05-01use setresgid() to drop privs, it is simply a better and less ambiguous API;Damien Miller
ok deraadt@ and millert@ a while ago, more to come
2005-03-12escape `.' at eol to avoid double spacing issue;Jason McIntyre
2004-07-10more ansi; khalek@linuxgamers.netTheo de Raadt
2004-04-04.br workaround no longer necessary;Jason McIntyre
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-12-06Replace things like srandom(time(NULL)) with srandomdev(3). random(3)Todd C. Miller
good enough for games but we should at least use a decent seed. pjanzen@ OK
2002-06-23uid_t and gid_t are unsignedTheo de Raadt
2002-05-31No dm -> games with high score files etc. must explicitly be setgid games.Paul Janzen
2002-05-24fix name, ok deraadtPeter Stromberg
2002-05-23The troll strikes.. The troll strikes.. The dungeon master ↵Theo de Raadt
dies.distrib/sets/lists
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-11-18move racey shit out of signal handlerTheo de Raadt
2001-08-18FormattingPaul Janzen
2001-02-18Convert to curses and tidy some. Generally based on NetBSD changes.Paul Janzen
2001-02-04Use strdup()Paul Janzen
2000-04-25Missing MLINKSMarc Espie
2000-04-21documentation: refer to terminfo, not termcap, where appropriate.Paul Janzen
1999-10-29correct snake description: cgd@netbsd.orgPaul Janzen
1999-07-09- remove all trailing whitespaceAaron Campbell
* except when it is escaped with a `\' at the end of the line - fix remaining .Nm usage as well - this is from a patch I received from kwesterback@home.com, who has been working on some scripts for fixing formatting errors in mdoc'd man pages Ok, so there could be a cost/benefit debate with this commit, but since I have the patch we might as well commit it...
1999-04-20jsm28@cam.ac.uk: place cursor on player, not one over.Paul Janzen
1999-03-13Fix a few bugs (e.g. snake used to miss turns); use usleep() so displayPaul Janzen
speed is correct on xterms; put snscore functionality inside snake and make snscore a symbolic link (to be phased out); clean up formatting; install score file properly; disable the log file by default (logging should be done through dm).
1998-11-29Don't capitalize game names at the beginning of sentences.Paul Janzen
1998-07-24-lcurses, not termcap/termlibTodd C. Miller
1998-06-11oopsTheo de Raadt
1998-06-11uid is not a shortTheo de Raadt
1997-09-21$OpenBSD$Theo de Raadt
1997-08-19bc is now le, don't ask me whykstailey
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-12-22proper gid revokeTheo de Raadt
1996-12-19setgid games, not setuid games. closes a neat set of holesTheo de Raadt
1996-06-02Always use -ltermlib when linking with -lcursesThorsten Lockert
Be comsistent in use of LIBTERMCAP and LIBTERMLIB when depending
1996-05-26sync 0521Theo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt