aroberge / reeborg

Enhanced Karel-the-robot clone
http://reeborg.ca/reeborg.html
Other
47 stars 36 forks source link

Decorative objects #197

Closed aroberge closed 9 years ago

aroberge commented 9 years ago

When objects as goal are specified, if any object is introduced for "decorative purpose" (for example, adding a flower to a field of grass), unless they are backed up by a specified goal (e.g. ensuring that a flower as a goal is also drawn "behind" the decoratve flower), a program written "correctly" will fail.

This suggest to have two kinds of objects: decorative and goals. Decorative object would not show a number next to them when drawn, unlike goal objects.