RockHound solution

Note: GridWorld will not be featured on the 2015 and subsequent AP CS Exams. RockHound processes actors differently than Critter so it must override processActors. Overriding the correct methods of Critter is commonly tested on the AP Computer Science Free Response.

BlusterCritter solution

Note: GridWorld will not be featured on the 2015 and subsequent AP CS Exams. BlusterCritter gets and processes actors differently than Critter; therefore, it must override getActors and processActors. Getting each location (or Actor, Critter, Rock, etc) within a specific number of spaces is commonly required on the AP Computer Science Free Response. The solution ...

QuickCrab solution

Note: GridWorld will not be featured on the 2015 and subsequent AP CS Exams. QuickCrab moves differently than CrabCritter; however, this does not imply that it should override makeMove. Instead, the postconditions require that QuickCrab override getMoveLocations to select a different set of move locations if possible. The requirement that QuickCrab move like CrabCritter if ...

KingCrab solution

Note: GridWorld will not be featured on the 2015 and subsequent AP CS Exams. KingCrab processes actors differently than CrabCritter; therefore, it must override processActors. Overriding the correct methods and adhering to the postconditions of the superclass methods is commonly required on the AP Computer Science Free Response. KingCrab must push actors farther away from ...