1 12687dd9 2023-08-04 jrmu ;; The first three lines of this file were inserted by DrScheme. They record metadata
2 12687dd9 2023-08-04 jrmu ;; about the language level of this file in a form that our tools can easily process.
3 12687dd9 2023-08-04 jrmu #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")))))
4 12687dd9 2023-08-04 jrmu Data Definition
6 12687dd9 2023-08-04 jrmu A word is a (listof letters) where letters is a symbol from 'a ... 'z and '_.
10 12687dd9 2023-08-04 jrmu (define WORDS '((o c t o p u s)
12 12687dd9 2023-08-04 jrmu (s a l m o n)
13 12687dd9 2023-08-04 jrmu (t i l a p i a)
15 12687dd9 2023-08-04 jrmu (s h r i m p)
17 12687dd9 2023-08-04 jrmu (m u s s e l)
18 12687dd9 2023-08-04 jrmu (o y s t e r)
20 12687dd9 2023-08-04 jrmu (s t a r f i s h)
21 12687dd9 2023-08-04 jrmu (j e l l y f i s )
22 12687dd9 2023-08-04 jrmu (s e a l i o n)))
26 12687dd9 2023-08-04 jrmu ;;State Variables
29 12687dd9 2023-08-04 jrmu ;;chosen-word : word
31 12687dd9 2023-08-04 jrmu (define chosen-word