[plt-scheme] Projects from my class
I must admit, I let them get away with not writing test cases for
animations, especially when the only input is a frame number. If they
just write the function with the variable replaced with a number, it
doesn't prove anything, and if they use the image as the expected
answer, it makes the size of the files and the run times grow very
quickly. I've told them the test is to run the animation and make sure
it does what it's supposed to.
Now that I've introduced structures and their draw functions are going
to be more complicated, I'll have them create tests for the draw,
tick, and on-blah handlers.
Todd
On Sat, Nov 14, 2009 at 9:30 AM, Matthias Felleisen
<matthias at ccs.neu.edu> wrote:
>
> Cool solar system, and quite simple. The pictures of the planets come with HtDP. Tell the student to implement a refinement:
>
> if someone clicks on a planet, show the real image
>
> It becomes a little game. Then donate it to your local science museum.
>
> -- Matthias
>
> p.s. it's lack test cases but hey it's all domain knowledge anyway :-)
>
>
>
>
> On Nov 14, 2009, at 9:24 AM, Todd O'Bryan wrote:
>
>> My most recent assignment was, "Create something cool using what we've
>> learned so far." Here are two of the best projects.
>>
>> Both are written in Beginning Student with the universe teachpack. For
>> the first, just hit run.
>>
>> For the second, you also need Stephen Bloch's tiles teachpack, and
>> after you hit run, try
>>
>> (I-chooose-you "Pikachu") or POKEDEX
>>
>> Todd
>> <solar-system-universe.ss.zip><pokemon-universe.ss.zip>_________________________________________________
>> For list-related administrative tasks:
>> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
>