@mdhughes @screwlisp (print"MathSlap") (print "Hit Enter for another number. Ctr...

@hairylarry@gamerplus.org

@mdhughes @screwlisp

(print"MathSlap")
(print "Hit Enter for another number. Ctrl-C to quit.")
(setf *random-state* (make-random-state t))
(defparameter index 0)
(defparameter line "")
(set 'out (concatenate 'string "MathSlap " (write-to-string (+ (random 10) 1)) " "))
(setf index 1)
(loop
while (< index 10)
do
(+ index 1)
(set 'out (concatenate 'string out (write-to-string (+ (random 10) 1)) " "))
(print out)
(setf line (read-line *standard-input*))
)