aboutsummaryrefslogtreecommitdiff
path: root/games
Commit message (Collapse)AuthorAgeFilesLines
* Adjust dr(6df) to use 2-arg rndi(1df)Tom Ryder2017-10-261-2/+1
|
* Add some leading comments to gamesTom Ryder2017-10-263-0/+3
|
* Remove unneeded shebangs from gamesTom Ryder2017-10-265-5/+0
| | | | shb(1df) installs these
* Correct comment typosTom Ryder2017-10-131-2/+2
|
* Use combining chars properly for strik(6df)Tom Ryder2017-07-251-63/+1
|
* Work around mawk's srand() behaviourTom Ryder2017-07-031-1/+4
| | | | | | | Specific values for these tasks get chosen way more often than other in mawk, and it seems to be caused by the random seed being above a certain value. Not sure if it's a bug or how it interacts with the POSIX standard, but this seems to fix it.
* Lots of cleanup of awk scriptsTom Ryder2017-07-021-1/+3
| | | | Mostly inspired by suggestions from gawk --lint
* Coerce seed to numberTom Ryder2017-07-021-1/+1
|
* Remove bad shebang from philsay.shTom Ryder2017-07-021-1/+0
|
* Remove POSIX char classes from AwkTom Ryder2017-07-022-3/+3
| | | | | I forgot that Debian's awk(1) is still a mawk that doesn't implement e.g. [:alpha:]
* Break pks(6df) and philsay(6df) in twoTom Ryder2017-07-022-74/+53
| | | | | Looks like awk(1) implementations vary in how they interpret option arguments.
* Very important addenda to pks(6df)Tom Ryder2017-07-021-3/+72
|
* Fix typoTom Ryder2017-07-011-1/+1
|
* Correct srand() arg countTom Ryder2017-07-011-1/+4
|
* Reimplement rndl(1df) in AwkTom Ryder2017-07-011-5/+5
| | | | | Removes the need for the temporary file. Also refactor pks(6df) to accommodate it.
* Better implementation of pks(6df)Tom Ryder2017-07-011-56/+19
| | | | Needs a lot of random numbers, but only one pass
* First attempt at pks(6df)Tom Ryder2017-07-011-0/+81
| | | | I've got a better idea, though
* Clean up drakon(6df) a bitTom Ryder2017-06-191-8/+8
|
* Use full length($0) rather than just lengthTom Ryder2017-06-031-1/+1
| | | | | The latter is allowed by POSIX, but not historically accepted everywhere and the former being explicit is more readable anyway
* Include all alpha chars in drakon(6df) toggleTom Ryder2017-05-141-1/+1
|
* Avoid re-calcing length each loop in drakon(6df)Tom Ryder2017-05-141-1/+2
|
* Array-less approach to squ(6df)Tom Ryder2017-05-141-7/+4
|
* Clear letters array before each line in squ(6df)Tom Ryder2017-05-141-0/+1
|
* Ignore blank linesTom Ryder2017-05-141-2/+1
|
* Adopt cleaner approach for acq(6df)Tom Ryder2017-05-141-1/+2
|
* Adjust newline test in squ(6df) for correct typeTom Ryder2017-05-121-1/+1
| | | | | | Moving the '+' operator to apply to "k" rather than to "len" correctly coerces an integer type for the '<' test rather than a lexical comparison. This was failing on words longer than 10 letters.
* Add missing word to acq(6df)Tom Ryder2017-05-121-1/+1
|
* Remove unneeded ':' commandTom Ryder2017-05-011-1/+1
|
* Correct type of squareTom Ryder2017-05-011-1/+1
|
* Add squ(6df)Tom Ryder2017-05-011-0/+10
|
* Apply runtime shebanging to POSIX shellTom Ryder2017-04-054-0/+0
|
* Add chkl(6)Tom Ryder2017-01-021-0/+6
|
* Remove reserved wordTom Ryder2016-12-181-2/+2
|
* Add strik(6df)Tom Ryder2016-12-121-0/+64
|
* Add COOL->KRIEG to kvlt(6df)Tom Ryder2016-12-111-1/+2
|
* Golf/refactor drakon(1df) a bitTom Ryder2016-12-111-15/+8
|
* Tweaks to kvlt(6df)Tom Ryder2016-12-031-8/+9
|
* Separate var assigns in dr(6df) by lineTom Ryder2016-12-021-1/+3
| | | | | | | NetBSD and FreeBSD sh(1) doesn't seem to evaluate the assignments in order, so in this change, the "d" variable doesn't get assigned correctly. This makes sense as I don't think an evaluation order is specified anywhere. It's clearer anyway.
* Add aesth(6)Tom Ryder2016-11-181-0/+64
|
* Improve accuracy of drakon(6df)Tom Ryder2016-10-191-5/+9
| | | | | On closer inspection, it looks like an alternating upper-lower pattern for letter characters
* Remove executable bit from rot13.sed sourceTom Ryder2016-10-191-0/+0
|
* Initialise var in drakon(6df)Tom Ryder2016-10-191-0/+1
| | | | Prevent runaway strings
* Add drakon(6df)Tom Ryder2016-10-191-0/+15
|
* Add rot13(6df)Tom Ryder2016-09-091-0/+3
|
* Put dotfiles manuals into their own sectionTom Ryder2016-08-262-2/+2
| | | | This probably contains a few mistakes
* xyzzy(6) to print to stderrTom Ryder2016-08-251-1/+1
|
* Add xyzzy(6)Tom Ryder2016-08-251-0/+6
|
* Change rndn(6) to POSIX shTom Ryder2016-08-171-49/+33
|
* Change rule order in kvlt(6)Tom Ryder2016-08-151-3/+3
|
* Remove accidentally-committed built acq(6)Tom Ryder2016-08-081-3/+0
|