summaryrefslogtreecommitdiffstats
path: root/robots/main.c
Commit message (Expand)AuthorAgeFilesLines
* robots: Use arc4random_uniform for better uniform distributionnia2020-07-261-3/+2
* sprinkle staticdholland2009-08-121-3/+5
* don't use char values for functions that can return -1; chars are not alwayschristos2009-08-051-4/+3
* Use getopt instead of hand-rolled options code. Document all the argumentsdholland2009-08-051-61/+59
* Use random() instead of rand(), and seed with time instead of pid.dholland2009-07-201-3/+4
* Assorted minor cleanups, no functional change:dholland2009-07-201-16/+24
* A bit more whitespace.dholland2009-07-201-4/+4
* Whitespace.dholland2009-07-201-13/+13
* ANSIfy. Use __dead. Object diffs checked.dholland2009-07-201-10/+5
* if initscr() fails, exit with a message rather than crash in thedrochner2008-08-081-3/+4
* Remove the \n and tabs from the __COPYRIGHT() strings.lukem2008-07-201-4/+4
* convert __attribute__s to applicable cdefs.h macrosperry2007-12-151-3/+3
* Add (unsigned char) cast to ctype functionsdsl2004-11-051-3/+3
* Remove uses of __P.jsm2004-01-271-3/+3
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-071-7/+3
* Change deprecated curses function to new equivalent.blymn2001-12-061-3/+3
* fix nested externschristos2001-02-051-4/+5
* Use setgid(), not setregid().mycroft2000-05-081-3/+3
* Ensure correct prompt asking about another game is given at the end ofjsm2000-01-191-2/+3
* Typo fix in unknown option message (from Malcolm Parsonsjsm2000-01-191-3/+3
* Remove definition of __cputchar.jsm2000-01-191-9/+2
* update after change to return value of tputs() third argumentlukem1999-10-041-4/+4
* Security improvements for games (largely from or inspired by OpenBSD).jsm1999-09-121-5/+26
* Add `__noreturn__' and `__unused__' attributes where appropriate tojsm1999-09-081-3/+3
* Add use of `const' where appropriate to the games.jsm1999-09-081-4/+4
* Add -A for automatic playing mode.christos1999-05-151-11/+28
* deprecate bzero, rindex, etc. use symbolic constants in open()lukem1997-10-121-3/+3
* WARNSifylukem1997-10-121-16/+20
* clean up importcgd1995-04-221-9/+19
* Really fix exit code.mycroft1993-08-101-4/+3
* Rewrite grody exit code and eliminate use of _putchar().mycroft1993-08-101-11/+4
* Add RCS identifiers.mycroft1993-08-011-1/+2
* initial import of 386bsd-0.1 sourcescgd1993-03-211-0/+196