Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wbhob/startcode-greeps2013
Start Code 2013 Summer Camp Greeps Competition
https://github.com/wbhob/startcode-greeps2013
Last synced: 8 days ago
JSON representation
Start Code 2013 Summer Camp Greeps Competition
- Host: GitHub
- URL: https://github.com/wbhob/startcode-greeps2013
- Owner: wbhob
- Created: 2013-06-05T18:44:24.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-07-16T15:06:25.000Z (over 11 years ago)
- Last Synced: 2024-12-01T13:48:57.534Z (2 months ago)
- Language: Java
- Size: 469 KB
- Stars: 0
- Watchers: 7
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.TXT
Awesome Lists containing this project
README
G R E E P S I N V A S I O N
Improve the "Greeps" implementation to help the Greeps collect tomatoes!
It's important. (At least to them...)This scenario is part of the SIGCSE'07 Greenfoot Programming Competition.
Your task is to program the Greeps to collect as many tomatoes as possible.
You may ONLY CHANGE THE GREEP class. You may not change any other class.The rules are:
Rule 1. Only change the class 'Greep'. No other classes may be modified or
created.Rule 2. No additional fields. You cannot extend the Greeps' memory. That is:
you are not allowed to add fields to the class (except final fields). You
can use the one byte memory that is provided.Rule 3. You cannot move more than once per 'act' round.
Rule 4. You cannot communicate directly with other Greeps. That is: no field
accesses or method calls to other Greep objects are allowed. (Greeps can
communicate indirectly via the paint spots on the ground.)Rule 5. No long vision. You are allowed to look at the world only at the
immediate location of the Greep. Greeps are almost blind, and cannot look
any further.Rule 6. No creation of objects. You are not allowed to create any scenario
objects (instances of user-defined classes, such as Greep or Paint). Greeps
have no magic powers - they cannot create things out of nothing.Rule 7. No tele-porting. Methods from Actor that cheat normal movement (such as
setLocation) may not be used.Version: 1.0
Written by: Michael Kolling, Feb 2007
Copyright (c) Michael Kolling
License: Free for any non-commercial use, modification and distribution.
Some rights reserved.