summaryrefslogtreecommitdiff
path: root/games/snake/snake.c
AgeCommit message (Collapse)Author
2004-07-10more ansi; khalek@linuxgamers.netTheo de Raadt
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-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-02-18Convert to curses and tidy some. Generally based on NetBSD changes.Paul Janzen
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).