summaryrefslogtreecommitdiff
path: root/games
AgeCommit message (Collapse)Author
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
2014-11-16Remove a bogotified commentPhilip Guenther
2014-11-16Eliminate pointless use of <sys/param.h>, <sys/file.h>, <sys/sockio.h>,Philip Guenther
and <sys/ttydefaults.h> Replace MAXPATHLEN with PATH_MAX and MAXLOGNAME with LOGIN_NAME_MAX Pull in <limits.h> where needed Prefer sizeof(var) over MAXFOO or FOO_MAX ok deraadt@
2014-11-15Reduce instances of `` '' in manuals.Anthony J. Bentley
troff displays these as typographic quotes, but nroff implementations almost always print them literally, which rarely has the intended effect with modern fonts, even in stock xterm. These uses of `` '' can be replaced either with more semantic alternatives or with Dq, which prints typographic quotes in a UTF-8 locale (but will automatically fall back to `` '' in an ASCII locale). improvements and ok schwarze@
2014-11-07Split bcd(6), morse(6), and ppt(6) into three separate manualsIngo Schwarze
since most of the text is different. Improve the SYNOPSIS according to suggestions by jmc@, tweaked by me. Delete a few redundant words, applying a patch from jmc@. Intentionally not doing any other text changes in this commit; for further tweaking in the tree. jmc@, tedu@, and millert@ agree with the general direction, and deraadt@ suspects we are "all grey beard fanatics" (in all caps).
2014-11-06fixup argv handling after getopt conversion. oops.Ted Unangst
2014-11-06-l option to create "modern" 80 column cardsTed Unangst
2014-11-06basic decode functionalityTed Unangst
2014-11-05don't deref timeout if null. from theo buehler.Ted Unangst
2014-11-04make the long line code work with argv tooTed Unangst
2014-11-04fix another signed char bug. while here, toupper() is now safe to callTed Unangst
on any char value.
2014-11-04allow printing longer lines than fit on a card by spilling onto more cards.Ted Unangst
don't negatively index into the table for signed chars. ok pjanzen
2014-11-03use knuth shuffle for better distribution of permutationsTed Unangst
2014-11-03select() to poll() conversionsTheo de Raadt
ok tedu (... other games maintainer absent)
2014-11-03the man page says it is impossible to cheat, but since the shuffle isTed Unangst
lopsided, a sharp counter can detect uneven permutations. fix this by using knuth shuffle. ok mlarkin pjanzen
2014-10-26Add a format specifier for the printf.Brad Smith
2014-10-11Userland reallocarray() audit.Doug Hogan
Avoid potential integer overflow in the size argument of malloc() and realloc() by using reallocarray() to avoid unchecked multiplication. ok deraadt@
2014-10-11Userland reallocarray() audit.Doug Hogan
Avoid potential integer overflow in the size argument of malloc() and realloc() by using reallocarray() to avoid unchecked multiplication. ok deraadt@
2014-10-11Userland reallocarray() audit.Doug Hogan
Avoid potential integer overflow in the size argument of malloc() and realloc() by using reallocarray() to avoid unchecked multiplication. ok deraadt@
2014-09-28I was mistaken: Nothing's wrong with contractions, they're just a normalIngo Schwarze
feature of the English language, so revert that part of the previous. Requested by jmc@.
2014-09-26Add missing .An macros (found with mandoc -Tlint) andIngo Schwarze
resolve contractions (found with textproc/igor(1)). Work done by Kaspars at Bankovskis dot net during the EuroBSDCon 2014 documentation tutorial. Very minor addition of a few more missing .An macros by myself.
2014-09-08obvious cases of missing .An;Ingo Schwarze
found with the new mandoc(1) MANDOCERR_AN_MISSING warning; no text changes
2014-07-16zap trailing newlines; "go for it" deraadtOkan Demirmen
2014-07-16replace beforeinstall target with LINKS; rot13 becomes a hardlink toOkan Demirmen
caesar instead of a symlink. agreed by deraadt, sobrado, guenther
2014-07-13calling this "encryption" makes me cringe. "slightly obfuscated" is better.Ted Unangst