![]() As you can tell, there is some luck involved due to the random movement of Greeps. To do so, each student must bring his/her Greep class on a USB key. Students must demo their solutions to Qusay Mahmoud no later than 4:30pm on Tuesday, April 10. The shape of each map, and locations of water and tomatoes are different. Note that the Greeps scenario you download from comes with three maps, however, testing to identify the top three scores will be done using ten maps. Note that Greenfoot in general provides methods to see further around you, but for the purpose of this competition, use of those methods is not allowed. The only part of the World that Greeps can see is their own immediate location.You can make use of this for whatever you like, but you cannot extend it. Greeps have some limited memory: one bye and two Boolean flags.Greeps cannot load tomatoes on their own - a Greep can only load a tomato onto another Greep.These paint drops can serve as markers to convey messages to other Greeps. Greeps can only communicate by spitting drops of paint (in three colors) onto the ground.You can make use of any of the inherited methods (use of some Actor methods is restricted - see Rule 6 above). You will see that Greep is a subclass of Creature and.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. You are not allowed o create any scenario objects (instances of user-defined classes, such as Greep or Paint). Greeps are almost blind, and cannot look any further. You are allowed to look at the world only at the immediate location of the Greeps. They do not call each other's methods or access each other's fields. Rule 3: Greeps do not communicate directly.That is: you are not allowed to add fields (other than final fields) to the class. Rule 2: You cannot extend the Greep's memory.No other classes may be modified or created. Program some intelligence into the little critters, and make them carry the tomatoes to their space ship quicker than ever before. You cannot change any of the other classes. Once you have downloaded and installed the above packages, start the Greenfoot environment and open the "Greeps" scenario. Download the Greeps scenario and install it under the Greenfoot's "scenarios" directory.You need to download the following packages:Įnvironment and install it on your laptop or desktop computer ![]() You will need to improve the Greep class to collect as many tomatoes as possible.Īttend one of the information sessions (see above) to learn more and see live demos of what needs to be done. In this competition, your task is to help the Greeps on their quest to collect as many tomatoes as they can in a limited amount of time. Greeps have landed, they walk all over the place, always on the look-out for tomato deposits. The Greeps have come to Earth! And they like tomatoes. Students can concentrate on modifying the application logic, and engage and experiment with objects. The Greenfoot environment makes creation of graphics and interaction easy. It is designed specifically to convey object-oriented concepts and principles in a clean, easily accessible manner. Greenfoot is a programming environment supporting Java. To learn about Greenfoot, the competition, and the rules of the game, please attend one of the following information sessions on Monday, April 2, 2007: In this programming competition, your task is to change the application logic of a simple interactive game written in Java using the Greenfoot environment. The competition will start on Monday, April 2, and submission of entries closes at 4:30pm on Tuesday, April 10. the Computing students who are currently on campus), and every student is encouraged to participate at no cost- it is a fun problem solving game suitable for students at all levels. This competition is open to ALL students in their 1st, 2nd, and 3rd year of the Applied Computing program (i.e. ![]() ![]() This is the first programming competition of its kind that is being organized for GH Computing students in April 2007. The Guelph-Humber Student Association (GHSA) and the GH Custom PC Club are pleased to introduce the 2007 GH Computer Programming Competition. 2007 G-H Computer Programming Competition*** ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |