;; The first three lines of this file were inserted by DrScheme. They record metadata ;; about the language level of this file in a form that our tools can easily process. #reader(lib "htdp-advanced-reader.ss" "lang")((modname |37.2|) (read-case-sensitive #t) (teachpacks ((lib "draw.ss" "teachpack" "htdp") (lib "arrow.ss" "teachpack" "htdp") (lib "gui.ss" "teachpack" "htdp"))) (htdp-settings #(#t constructor repeating-decimal #t #t none #f ((lib "draw.ss" "teachpack" "htdp") (lib "arrow.ss" "teachpack" "htdp") (lib "gui.ss" "teachpack" "htdp"))))) Data Definition A word is a (listof letters) where letters is a symbol from 'a ... 'z and '_. ;;Constants (define WORDS '((o c t o p u s) (s q u i d) (s a l m o n) (t i l a p i a) (b a s s) (s h r i m p) (c l a m s) (m u s s e l) (o y s t e r) (c r a b) (s t a r f i s h) (j e l l y f i s ) (s e a l i o n))) ;;State Variables ;;chosen-word : word (define chosen-word