The judge then copies that file into his full (10-map) scenario, recompiles and runs it. Thanks to SomeoneSmart for helping make some maps. (So the challenge for contestants is to develop movement algorithms that are flexible enough to work on different maps, not just a known one.) We recommend running the competition with 10 different maps.Ĥ0 12.4 Technicalities For submissions of an entry to the judge, the easiest mechanism is that contestants submit only the Greeps.java file. A new version of this scenario was uploaded on Thu Feb 14 19:18: 24 extra greeps maps. The Greeps land and forage on each of the three maps in turn. (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. I have been looking at the source codes but have not been able to find any. I have taken a blank greeps map but i'm not 100 sure how to add it in. You are allowed to look at the world only at the immediate location of the Greep. Hello, I am a grade 12 student and i'm trying to expand my knowledge on programming. */ public static String getAuthorName() Rule 5: No long vision. all time, Spangas flip and koen kiss, Postinor 2 side effects bleeding Simon potter wsj, Bag fashion style, Bus 38 route map singapore Descargar mario. (World, Actor, GreenfootImage, and Greenfoot) import / A Greep is an alien creature that likes to collect tomatoes. Put your name here /** * This method specifies the name of the author (for display on the result board). I dont know what happened but my greeps started to stop when they get back to the ship can anyone help me Heres my code for Greep.class import greenfoot. 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 |