summaryrefslogtreecommitdiff
path: root/games/robots/main.c
AgeCommit message (Expand)Author
2022-06-27Enable FANCY mode for debugging purposes:christos
2020-07-26robots: Use arc4random_uniform for better uniform distributionnia
2009-08-12sprinkle staticdholland
2009-08-05don't use char values for functions that can return -1; chars are not alwayschristos
2009-08-05Use getopt instead of hand-rolled options code. Document all the argumentsdholland
2009-07-20Use random() instead of rand(), and seed with time instead of pid.dholland
2009-07-20Assorted minor cleanups, no functional change:dholland
2009-07-20A bit more whitespace.dholland
2009-07-20Whitespace.dholland
2009-07-20ANSIfy. Use __dead. Object diffs checked.dholland
2008-08-08if initscr() fails, exit with a message rather than crash in thedrochner
2008-07-20Remove the \n and tabs from the __COPYRIGHT() strings.lukem
2007-12-15convert __attribute__s to applicable cdefs.h macrosperry
2004-11-05Add (unsigned char) cast to ctype functionsdsl
2004-01-27Remove uses of __P.jsm
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2001-12-06Change deprecated curses function to new equivalent.blymn
2001-02-05fix nested externschristos
2000-05-08Use setgid(), not setregid().mycroft
2000-01-19Ensure correct prompt asking about another game is given at the end ofjsm
2000-01-19Typo fix in unknown option message (from Malcolm Parsonsjsm
2000-01-19Remove definition of __cputchar.jsm
1999-10-04update after change to return value of tputs() third argumentlukem
1999-09-12Security improvements for games (largely from or inspired by OpenBSD).jsm
1999-09-08Add `__noreturn__' and `__unused__' attributes where appropriate tojsm
1999-09-08Add use of `const' where appropriate to the games.jsm
1999-05-15Add -A for automatic playing mode.christos
1997-10-12deprecate bzero, rindex, etc. use symbolic constants in open()lukem
1997-10-12WARNSifylukem
1995-04-22clean up importcgd
1993-08-10Really fix exit code.mycroft
1993-08-10Rewrite grody exit code and eliminate use of _putchar().mycroft
1993-08-01Add RCS identifiers.mycroft
1993-03-21initial import of 386bsd-0.1 sourcescgd