for(int i = 0; i < 17; i = i + 6) { g.drawRect(i,2*i,3*i,4*i); }
Points | Task |
1 | Draws a bunny (anything with a head, body, and at least one foot will do) |
2 | Draws a field of bunnies, 6 down by 8 across. |
3 |
Draws a plus-sign of bunnies, like this: ** ** ****** ****** ** ** |
4 | Draws a triangle of bunnies, 6x6, with the right angle in the lower-right of the screen |
Points | Task |
1 | Draws two circles/squares of different sizes such that the bottom of each circle/square is on a horizontal line |
1 | Can print "You clicked on the head" or "You clicked on the body" |
1 | That bodypart changes color when clicked upon |
1 | Every time you click, the bunnies whiskers move |
Points | Task |
1 | Can store the ages in an array |
1 | Can tell me the age of the oldest bunny |
1 | Can tell me the average age of all the bunnies |
2 | Can print the ages in order (you have to program a sort) |