(This is the one included in the book scenarios.) This scenario includes three different maps. To make the competition interesting, there should be two versions of the Greeps scenario. Use the total scores to determine if you Greeps logic is improving You can then (that will be a day or two in) also have discussion where they describe their ideas of how to improve it. That is usually enough to get them started and to generate more ideas. So I suggest that they wait at the pile when they find one. The next thing is that Greeps can only pick up tomatoes when two of them are at the tomato pile together. The first thing I suggest to my students to do is to turn when they hit water, so they don’t get stuck. In the handout version, Greeps just run more or less straight, and when they hit an obstacle (water or the screen edge) they are stuck and stay there. Methods from Actor that cheat normal movement (such as setLocation) may not be used. Greeps have no magic powers - they cannot create things out of nothing.ġ8 Rule 7 Rule 7: No tele-porting. You are not allowed to create any scenario objects (instances of user-defined classes, such as Greep or Paint). Greeps are almost blind, and cannot look any further.ġ7 Rule 6 Rule 6: No creation of objects. You are allowed to look at the world only at the immediate location of the Greep. */ public static String getAuthorName() Rule 5: No long vision. Put your name here /** * This method specifies the name of the author (for display on the result board). Presentation on theme: "Interlude 2 - The Greeps Competition"- Presentation transcript:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |