summaryrefslogtreecommitdiff
path: root/games
AgeCommit message (Collapse)Author
2015-07-27use file system path (.Pa) semantic markup macros where appropriate.Igor Sobrado
2015-07-20Sometimes, the computer's move was printed, but the computer's men didn'tIngo Schwarze
actually move. This happened when "swap" was called earlier, and then later in the final call to makmove(), swapping back would have been required, but was erroneously denied. Patch sent in pjanzen@. It looks like the bug was already present in the original version in 4.1a BSD in 1982.
2015-07-16flower & bird adjustments for Nunavut, from pjanzenTheo de Raadt
2015-06-26/home/otto/okOtto Moerbeek
2015-05-20Fix sign compare bug introduced when rnum() was redefined to useTodd C. Miller
arc4random_uniform(). From pjanzen@, OK deraadt@
2015-04-04from snj, netbsd -r1.56: "properly pluralize"Jason McIntyre
2015-03-25Fix double word in quote from Ken Olsen.Jeremie Courreges-Anglas
"There is no reason for any individual to have a computer in their home."
2015-03-17Eliminate use of TM_YEAR_BASE. OK guenther@ deraadt@ miod@Todd C. Miller
2015-03-15tzfile.h is an internal header that should never have been installed.Todd C. Miller
What's worse, the tzfile.h that gets installed is over 20 years old and doesn't match the real tzfile.h in libc/time. This makes the tree safe for /usr/include/tzfile.h removal. The TM_YEAR_BASE define has been moved to time.h temporarily until its usage is replaced by 1900 in the tree. Actual removal of tzfile.h is pending a ports build. Based on a diff from deraadt@
2015-03-13remove the first comma from constructs like ", and," and ", or,": you can useJason McIntyre
"and" and "or" to join sentence clauses, and you can use commas, but both hinders reading;
2015-03-12Delete cribbage logging. Was never enabled and no point in enabling it.Anthony J. Bentley
ok tedu@
2015-03-09make the worm grow faster on larger terminals. this is more fun thanTed Unangst
starting with an enormous pile of worm at the start.
2015-02-18improve ship placement interface. per the instructions, 2468 should work,Ted Unangst
but the first loop didn't allow them. also allow arrow keys to work, since they work in other modes.
2015-02-18no reason for magic numbers to be octal. just drop the leading 0.Ted Unangst
still equally magic.
2015-02-18don't cast function arguments; use reallocarray in one placeTed Unangst
2015-02-18convert calloc/realloc pairs to reallocarrayTed Unangst
2015-02-18Don't abuse Aq for arguments, and use a prettier escape for dashes.Anthony J. Bentley
ok schwarze@
2015-02-17Mark up email addresses semantically with Mt.Anthony J. Bentley
ok schwarze@
2015-02-10the stem of the b was not descending all the way to the baseline.Ted Unangst
now `/usr/games/banner libressl` is extra purty. i should credit miod for reminding me of this program's existence by requesting that i not paste its output into chat.
2015-02-07allow ctrl-d to quit after a game as wellTed Unangst
2015-02-07use unsigned char type to avoid many castsTed Unangst
2015-02-07by popular request, stop giving away numeric letters. no more will theTed Unangst
appearance of 509 in a symbol name tell you what letter to guess first.
2015-02-07unsigned char for ctype functionsTed Unangst
2015-02-07Ignore ELF symbols containing dots or dollar signs. Suggested by millert@Miod Vallat
2015-02-07clear to end of line when printing error messages so that previousTed Unangst
messages don't remain and pollute the line
2015-02-07By popular demand, allow any ELF file to be passed to -d as a word list, inMiod Vallat
which case its symbols will be used. Which means that `hangman -k' is equivalent to `hangman -d /bsd' now. ok beck@ tedu@
2015-02-06Fix small typo found when testing tedu@'s fortune -o -m change.Kent R. Spillner
ok jmc@
2015-02-06unsigned char is the correct type for ctype functionsTed Unangst
2015-02-06no space after #Ted Unangst
2015-02-06remove TRUE/FALSE in favor of the true boolean values 1/0Ted Unangst
2015-02-06Debug, whatever it's worth, is clearly not a booleanTed Unangst
2015-02-06cleanup a few bitsTed Unangst
2015-02-06remove no regex ifdef. everybody loves regex.Ted Unangst
2015-02-06use regcomp native case insensitive matching facility instead ofTed Unangst
faking it poorly
2015-02-06don't set a flag with ++; it's a bool, not a counter.Ted Unangst
2015-02-06change int to size_t to avoid integer overflowTed Unangst
2015-02-06fix searching and display of offensive fortunes.Ted Unangst
now, if you want to find an offensive fortune about (e.g.) meat, you can simply run: $ fortune -o -m meat This is much easier than the previous requirement to run a command like: $ fortune -o -m `echo meat | rot13` | rot13 requested by guenther phessler
2015-02-06regex are documented in re_format.7, not the C API in regex.3Ted Unangst
2015-01-19Make some $OpenBSD$ lines prettier/standardier by eliminatingKenneth R Westerback
superflous '*' after '/*' and adding blank after terminating '$'. Also eases parsing of the lines by simple awk scripts. Aesthetic approval from tedu@.
2015-01-19normalize formattingTheo de Raadt
2015-01-15remove .Tn; from Jan Stary <hans at stare dot cz>Ingo Schwarze
2015-01-15all modern systems can do this SUSPEND thingTheo de Raadt
2015-01-15NR_OF_EOFS is a festering boil, lance & drain.Theo de Raadt
ok millert
2014-12-31adventure requires deterministic random for its internal dataTed Unangst
"obfuscation" scheme to work (words fail me), but we can use arc4random for the in game fun. from theo buehler
2014-12-31simplify poll() conversion. from patrick keshishianTed Unangst
2014-12-28spelling fix; from daria suchecka via krzystof warzechaJason McIntyre
2014-12-09Do not memorialize cheaters in the high score file.Theo de Raadt
from pjanzen
2014-12-08For now, these games still contain deterministic randomization (forTheo de Raadt
save / replay modes of operation that have not yet been cleaned up). OK, I've let the cat out of the bag, now some of you know you can cheat at them.. ok millert guenther tedu
2014-12-08okan noticed this was actually calling the cfree turd.Ted Unangst
2014-12-07we do not use pcc on the vaxTheo de Raadt