Assigned: September 25, 2019
Due: October 2, 2019
Program 1: cat-prog.rkt
your-name-cat-prog.rkt
WIDTH
(800) and HEIGHT
(200)CAT-y
(half the HEIGHT
) and EMPTY-SCENE
(the empty-scene with dimensions WIDTH
and HEIGHT
)CAT1
and CAT2
image constants Program 2: gauge-prog.rkt
Create a “happiness gauge” for your cat. Later, we'll combine this program with the first program, but for right now keep them separate.
your-name-gauge-prog.rkt
overlay
functions from the 2htdp/image
teachpack. overlay
and overlay/align
functions helpful.WIDTH
and HEIGHT
EMPTY-SCENE
(the empty-scene)EMPTY-SCENE-MID-X
Submit both programs with an .rkt extension via Moodle. They will be graded based on the posted assignment grading rubric.