summaryrefslogtreecommitdiff
path: root/games
AgeCommit message (Collapse)Author
2014-03-11Match bwrite()'s prototype with write()'s, zapping a lint commentPhilip Guenther
Delete casts to char* of arguments to bwrite() and free()
2014-03-11Welcome to 1989: we can ask for signed chars when we want themPhilip Guenther
2014-03-11lint is dead (long live the lint!)Philip Guenther
Declare play() and pl_main() as __dead, to solve the original problem
2014-03-11lint is dead (long live the lint!)Philip Guenther
2014-02-16malcolm macdougall, not dacdougall;Jason McIntyre
From: Joe Marcus Clarke
2014-02-12remove an obsolete man(7) .TP macro that was forgottenIngo Schwarze
when converting this page to mdoc(7) in revision 1.4; noticed by Jan Stary <hans at stare dot cz>
2014-02-11clean up AUTHORS section, no content change:Ingo Schwarze
* add missing .An * do not use .nf and .fi in mdoc(7) code * avoid bare TAB outside literal context * remove pointless .Ss from Jan Stary <hans at stare dot cz>, tweaked by me
2014-01-28from pjanzen:Jason McIntyre
Start with the cursor on the worm's head. ok millert
2014-01-28from pjanzen:Jason McIntyre
Use strtonum() and error out on an unacceptable length argument rather than reverting to default values; document maximum initial length limit. started by a diff From: Jan Stary, who requested we document default behaviour ok millert
2014-01-21obvious .Pa fixes; found with mandocdb(8)Ingo Schwarze
2014-01-11optarg/optind are declared in <unistd.h>, so kill the externs herePhilip Guenther
2013-12-11typo fix from gavin atkinson, freebsd -r259189;Jason McIntyre
2013-11-27remove erroneous char cast to switch expression processing getopt(3);Okan Demirmen
not used in any cases. ok deraadt@, guenther@, millert@
2013-10-25start_time should be time_t, not int since it holds the reasult ofTodd C. Miller
time(0). OK guenther@
2013-10-25Use arc4random_uniform() insead of rand() and modulus.Todd C. Miller
OK deraadt@
2013-10-15remove conditionals for ELF; prodding by patrick keshishianTheo de Raadt
2013-10-15no more a.out support hereTheo de Raadt
2013-09-12Misc time_t tweaks. %ld / (long)tv_sec -> %lld / (long long)tv_sec.Kenneth R Westerback
Eliminate unneeded casts. suggestions from & ok millert@ guenther@
2013-08-29replace srandomdev()+random() with the arc4random*() familyChristian Weisgerber
tweaks and ok millert@, ok deraadt@
2013-08-29Tournament mode uses a deterministic random seed for reproducible games.Christian Weisgerber
Switch seeding from srand() to srandom(), corresponding to the change in random number generator from rand() to random() fifteen years ago. ok pjanzen@ bluhm@ millert@
2013-08-22Correct format string mismatches turned up by -Wformat=2Philip Guenther
suggestions and ok millert@
2013-08-18Fix calls to printf-like functions which passed a non-fixed stringPhilip Guenther
as the format and no variable args. Replace "%#0.*X" with "%#.*X": the zero-fill flag is ignored/implied on numeric conversions when a precision is specified. ok jung@ millert@ krw@
2013-08-14no longer any need to quote macro lines with >9 args;Jason McIntyre
From: Jan Stary
2013-07-17add missing .An and .Mt macro; from Jan Stary <hans at stare dot cz>; ok jmc@Ingo Schwarze
2013-07-16use .Mt for AUTHORS email; from Jan Stary <hans at stare dot cz>; ok jmc@Ingo Schwarze
2013-06-02Correct obviously exchanged labels in the "computer warpcost" output andIngo Schwarze
fix a typo in a comment; from <Ted dot Roby at gmail dot com> on tech@.
2013-05-09teenagers from *outer* space ("they blast the flesh off hunmans!");Jason McIntyre
2013-04-05this doesn't need to be time_t ok deraadtTed Unangst
2013-02-18typo fix; from pgoyette, netbsd -r1.15 and -r1.11, respectively;Jason McIntyre
2013-02-10typo; fix from patrick keshishianJason McIntyre
2013-01-17macro fixes;Jason McIntyre
2012-12-05Remove excessive sys/cdefs.h inclusionTheo de Raadt
ok guenther millert kettenis
2012-11-24grammar fix; from Chris Petrik, freebsd pr 173868Jason McIntyre
2012-11-17pjanzen spotted that my previous commit mistakenly omitted anotherJason McIntyre
spelling fix;
2012-11-16two spelling fixes; from John-Mark Gurney (freebsd -r243048);Jason McIntyre
2012-06-20typo; netbsd -r1.10Jason McIntyre
2012-05-27make both -d options format the same, and zap that annoying full stopJason McIntyre
2012-05-27Use an en-dash for 20-200, escape - used as arithmetic symbol.Stuart Henderson
Same as jmc's tweaks for rain(6).
2012-05-27Update for new -d default; tweaks+ok jmc@Stuart Henderson
2012-05-27Teach rain(6) to calculate terminal delays in the same way as worms(6),Stuart Henderson
rather than use a default which totally floods the network if run over ssh. Discussed with matthieu@ martynas@, ok matthieu@
2012-05-24typosMiod Vallat
2012-03-04In preparation for getline and getdelim additions to libc, rename getline()Federico G. Schwindt
occurrences to get_line(). Based on a diff from Jan Klemkow <j-dot-klemkow-at-wemelug-dot-de> to tech.
2011-12-28Add HISTORY section and more information regarding AUTHORS.Ingo Schwarze
Feedback and ok Eric Allman (via Kirk McKusick, thanks!), ok jmc@ sobrado@.
2011-12-04Fix grammar and spelling in a Latin fortune.Pascal Stumpf
ok jmc@
2011-11-20grammar fix, from jnemeth@netbsd (-r1.48);Jason McIntyre
2011-11-19+Cn:112:(285):CoperniciumJason McIntyre
from pjanzen
2011-11-06union wait is dead, ancient history; stop using itPhilip Guenthe
ok deraadt@
2011-10-06some presidential updates, from pjanzen;Jason McIntyre
2011-09-03make -column lists pretty again;Jason McIntyre
specifically, rewrite them to permit some markup in the column headers, and use "Ta" instead of literal tabs; mandoc does not currently match groff 100%, but a mandoc fix may be some time off, and we've gone enough releases with poorly formatting column lists. in some cases i have rewritten the lists as -tag, where -column made little sense.
2011-07-03no more rogue(6);Jason McIntyre