summaryrefslogtreecommitdiffstats
path: root/games/bs/bs.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* Remove a few too early pledge(2)s on games/ and apply them a little bit latermestre2018-08-241-1/+5
* remove duplicate installation of the SIGINT handler;schwarze2018-08-051-2/+1
* - General changes:mestre2016-03-071-2/+2
* Remove needless casts to (char *) NULL. Some were kept, namely for execl(3)mestre2016-01-101-4/+4
* Remove unnecessary headers an sortmestre2016-01-081-3/+2
* Some basic code maintenance in games/tb2016-01-071-3/+2
* About 13 years ago when the idiom srandom(time()), and sometimesmestre2016-01-031-2/+1
* Set as __dead a few more functions, that don't return, on games/mestre2015-12-261-2/+2
* Apply some more KNF to the declaration of functions, but keep style to the rest of code for now.mestre2015-12-251-29/+49
* Function prototypes and a little bit of KNF.tb2015-12-241-28/+48
* assume modern curses and unifdef ancient feature teststedu2015-12-041-50/+1
* pledge "stdio rpath tty" for bstb2015-11-301-1/+4
* Cast toupper()'s argument to unsigned char.mmcc2015-10-241-2/+2
* Make prompt() properly printf-like, eliminating empty dummy argsguenther2015-09-271-8/+14
* improve ship placement interface. per the instructions, 2468 should work,tedu2015-02-181-23/+23
* Eliminate pointless use of <sys/param.h>, <sys/file.h>, <sys/sockio.h>,guenther2014-11-161-3/+3
* mlarkin found disabled code to print a battleship. improve it and enable.tedu2014-07-121-8/+6
* replace srandomdev()+random() with the arc4random*() familynaddy2013-08-291-6/+2
* Use getopt() to parse the argument list, shrinking the code andguenther2009-11-141-43/+29
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-5/+1
* sort flags; "usage:" is lowercase.sobrado2009-10-171-4/+4
* Original author agreed to permit bs to be released under BSD license.pjanzen2003-06-111-2/+31
* Remove #ifdef'ed out unnecessary defines.pjanzen2003-05-191-11/+2
* Replace things like srandom(time(NULL)) with srandomdev(3). random(3)millert2002-12-061-3/+3
* Only target in the playing field when using mouse.pjanzen2002-08-091-4/+4
* Fix an error in the CPU random fire routine that could cause a segfault.pjanzen2002-08-091-2/+3
* Bug fix in random placement code from Erik Sigra.pjanzen2002-08-091-7/+5
* de-registerpjanzen2002-05-311-8/+8
* No dm -> no need to revoke setegid.pjanzen2002-05-311-7/+3
* more signed char issuesderaadt2002-02-181-3/+3
* Make sure screen is big enough to play.pjanzen2001-06-231-5/+11
* long usernames, and some -Wall-agepjanzen2001-02-171-17/+18
* bools should only be TRUE or FALSE. Negative numbers are right out.pjanzen2000-09-081-14/+19
* Handle EOF on stdin.pjanzen2000-07-231-2/+5
* OpenBSD rscid and proper gid revoke (again)pjanzen1998-03-121-4/+9
* Bugfixes and strategical improvementspjanzen1998-03-121-196/+331
* tabifykstailey1997-07-231-6/+6
* Use standard header files instead of declaring system funcs explicitlyniklas1997-02-141-11/+6
* proper gid revokederaadt1996-12-221-1/+3
* setgid games, not setuid games. closes a neat set of holesderaadt1996-12-191-1/+3
* battleships, from FreeBSDdownsj1996-08-211-0/+1253