01 Model

Every world should know its id number and a color.

An IC is a structure.

(make-ic Number Image-Color)

Interpretation:

(make-ic id col)
  • id: specifies the number of the world (you choose)
  • col: the color to show in the world

Begin your main file with a structure definition for ic.

(define-struct ic (id col))

You will want to require picturing-programs as always.

Last modified August 18, 2023: 2022-2023 End State (7352e87)