John Hawkins (hawk) wrote,
John Hawkins
hawk

(defun angelicdestiny ()
   (if (> (random 2) 0)
      (angelicdestiny-descend nil)
     (angelicdestiny-descend-emph nil)))

(defun angelicdestiny-descend (prev)
   (let ((id (random 3)))
      (cond ((= id 0)
               (angelicdestiny-descend (append (list 'h) prev)))
            ((= id 1)
               (angelicdestiny-descend (append (list 'a) prev)))
            ((and (= id 2) (> (length prev) 3))
               prev)
            (t
               (angelicdestiny-descend prev)))))

(defun angelicdestiny-descend-emph (prev)
   (let ((id (random 3)))
      (cond ((= id 0)
               (angelicdestiny-descend-emph (append (list 'H) prev)))
            ((= id 1)
               (angelicdestiny-descend-emph (append (list 'A) prev)))
            ((and (= id 2) (> (length prev) 3))
               prev)
            (t
               (angelicdestiny-descend-emph prev)))))
Subscribe

  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 14 comments