summaryrefslogtreecommitdiff
path: root/games/worm/worm.c
AgeCommit message (Expand)Author
2015-11-21pledge the wyrmsTheo de Raadt
2015-11-04replace setbuf with setvbuf, from Frederic NowakTed Unangst
2015-08-26Replace clock_gettime UPTIME with MONOTONIC to improve worm portability.Rafael Zalamena
2015-08-24Fix cheating bug by using unused time variables and replace poll() withRafael Zalamena
2015-08-22remove malloc/calloc/realloc* casts, due to stdlib.h being present; ok miller...Theo de Raadt
2015-08-21KNFTheo de Raadt
2015-03-09make the worm grow faster on larger terminals. this is more fun thanTed Unangst
2014-11-03select() to poll() conversionsTheo de Raadt
2014-01-28from pjanzen:Jason McIntyre
2014-01-28from pjanzen:Jason McIntyre
2013-08-29replace srandomdev()+random() with the arc4random*() familyChristian Weisgerber
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2004-11-29ansi. ok deraadt@Jonathan Gray
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-05-19ANSIPaul Janzen
2003-05-19volatile sig_atomic_tPaul Janzen
2002-12-06Replace things like srandom(time(NULL)) with srandomdev(3). random(3)Todd C. Miller
2002-05-31de-registerPaul Janzen
2002-05-31No dm -> no need to revoke setegid.Paul Janzen
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-11-17move gunk out of signal handlers, now safeTheo de Raadt
2001-09-03Handle EOF on stdin.Paul Janzen
2001-09-03Fixes from NetBSD (jsm@), one reported by Malcolm ParsonsPaul Janzen
2001-02-18include <string.h>Paul Janzen
2000-01-25support arrow keys (cgd@netbsd.org); use select() rather than alarm() forPaul Janzen
1999-09-03unbreak brakeHugh Graham
1999-04-20jsm28@cam.ac.uk: place cursor on player, not one over.Paul Janzen
1998-09-16Make sure malloc() succeedsPaul Janzen
1998-08-19tags, formatting, ANSI-fication, prototypes, de-typos, and the occasionalPaul Janzen
1998-03-12OpenBSD ID (changed from NetBSD)Paul Janzen
1998-02-08cleanup; pjanzen@foatdi.harvard.eduTheo de Raadt
1996-12-22proper gid revokeTheo de Raadt
1996-12-19setgid games, not setuid games. closes a neat set of holesTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt