summaryrefslogtreecommitdiff
path: root/games
AgeCommit message (Collapse)Author
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
2014-12-07the debug / SVR4 chunk has been busted for a while. interesting.Theo de Raadt
from Jonas Termansen
2014-12-07removing the "rigged demo" quote, as it's also present in fortunes (1) file;Jason McIntyre
2014-12-05Remove SVR4 codeblock which insisted on using srand(time(0)) and rand().Theo de Raadt
How did this survive the tedu?? Very disappointed!!
2014-12-04Stop people from cheating. Especially those that believe in FIPS, theyTheo de Raadt
are the worst. ok millert ingo tedu
2014-12-03in the recent update of capitals, this critical file was forgottenIngo Schwarze
2014-12-02delete unused, almost empty fileIngo Schwarze
2014-12-02get rid of line-printer-era backspace-encoding of diacriticals;Ingo Schwarze
patch from pjanzen@; ok jmc@
2014-11-30Even though not callable, "Ed" is a macro name, so for clarity,Ingo Schwarze
escape it when it appears on a macro line.
2014-11-24Adjust ordering; from pjanzenTheo de Raadt
2014-11-24Add two new IUPAC elements, and adjust the atomic weights of some.Theo de Raadt
from pjanzen
2014-11-22Update to gravely outdated places to visit, from Jack SzmidtTheo de Raadt
2014-11-20minor tweaks and add HISTORY; ok jmc@Ingo Schwarze
2014-11-19We don't need no stinkin' non-new-curses code. Also eliminates aKenneth R Westerback
double #include. ok deraadt@ tedu@
2014-11-19Bugfix: run for the specified number of seconds as described in the manual,Ingo Schwarze
not for a fixed number of iterations. This makes a difference on terminals not fast enough to update every second, in particular in -s mode. Inspired by FreeBSD, but implemented differently with less bugs. Patch from pjanzen@, slightly tweaked by me.
2014-11-18Nuke some obvious #include duplications.Kenneth R Westerback
ok espie@ deraadt@ millert@ tedu@
2014-11-18sigwinch support for resizing. from pjanzenTed Unangst
2014-11-18Center the clock. Based on an idea and an original diff from tedu@,Ingo Schwarze
arithmetics and validity constraints fixed by me. OK pjanzen@ tedu@
2014-11-18HISTORY and AUTHORS; ok pjanzen@ mickey@Ingo Schwarze
2014-11-17Multiple improvements from pjanzen@:Ingo Schwarze
* properly delay scrolling with nanosleep(2), relevant on fast terminals * change timing to end scrolling on the second instead of starting it * error out if the terminal is too small instead of garbling the output * use strtonum(3) rather than strtol(3) and terminate error message with \n