aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-26 09:09:35 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-26 09:09:35 +1300
commit95a8e7619bf4e31933c815604b86b3a0682050cf (patch)
tree26bebb1423db0eca2fb4278b43076e52b5a26447 /games
parentRemove unneeded shebangs from games (diff)
downloaddotfiles-95a8e7619bf4e31933c815604b86b3a0682050cf.tar.gz
dotfiles-95a8e7619bf4e31933c815604b86b3a0682050cf.zip
Add some leading comments to games
Diffstat (limited to 'games')
-rw-r--r--games/aaf.sh1
-rw-r--r--games/philsay.sh1
-rw-r--r--games/xyzzy.sh1
3 files changed, 3 insertions, 0 deletions
diff --git a/games/aaf.sh b/games/aaf.sh
index 09c2bc36..24094a73 100644
--- a/games/aaf.sh
+++ b/games/aaf.sh
@@ -1,2 +1,3 @@
+# Print a random ASCII Art Fart
curl http://www.asciiartfarts.com/random.cgi |
pup -p 'table[cellpadding]' pre text{}
diff --git a/games/philsay.sh b/games/philsay.sh
index 9270c52e..1c02bf57 100644
--- a/games/philsay.sh
+++ b/games/philsay.sh
@@ -1,3 +1,4 @@
+# Ha, ha, ha! ASCII!
speech=$(pks "$@") || exit
printf '\n%066s\n' '( '"$speech"' )'
cat <<'EOF'
diff --git a/games/xyzzy.sh b/games/xyzzy.sh
index 8101b190..5cc03278 100644
--- a/games/xyzzy.sh
+++ b/games/xyzzy.sh
@@ -1,3 +1,4 @@
+# ADVENTURE
if [ -e "$HOME"/.xyzzy ] ; then
printf >&2 '%s\n' 'Nothing happens.'
exit 1