#! /bin/awk -f ## ## ## I'm not super happy with how this code looks. Rest assured, though, ## the C version would look far, far worse. ## ## function qsort(A, left, right, i, last) { if (left >= right) return swap(A, left, left+int((right-left+1)*rand())) last = left for (i = left+1; i <= right; i++) if (A[i] < A[left]) swap(A, ++last, i) swap(A, left, last) qsort(A, left, last-1) qsort(A, last+1, right) } function swap(A, i, j, t) { t = A[i]; A[i] = A[j]; A[j] = t } function escape(s) { gsub("&", "&", s) gsub("<", "<", s) gsub(">", ">", s) return s } function head() { print "" print "
" print " What is it?" print " It is a hacker/forensic/puzzle game... are you up for a challenge" print "" print " How do I play?" print " Sit at the terminal and make yourself a team." print " Follow instructions from there (involves visiting a website)" print "" print " FAQ:" print " Q - What is the picture being projected?" print " A - It is the scoreboard and the image is for you to figure out" print " " print " Q - Are there any hints?" print " A - NO" print " " print " Q - Can I connect remotely and play?" print " A - Sure, connect to our Access Point \"Verizon MiFi A6AD Secure\"" print " " print " Q - How do I track my points?" print " A - See first FAQ. The points are based off of how many" print " puzzles you've solved in each category" print "" print " " print "