Loading video...
The GridWorld Study
- Five or six multiple choice questions and one free response question based on GridWorld
- Allows AP Exam to test knowledge of advanced concepts without requiring you to write an excessive amount of code
- At the AP Exam you will receive a Quick Reference Guide to the GridWorld code and APIs
- Testable APIs (know how to use): Grid interface; Location, Actor, Rock, and Flower classes
- Testable Code (know how the code works and be able to extend or modify it): Bug, BoxBug, Critter, and ChameleonCritter classes
The GridWorld Study
Lecture Slides are screen-captured images of important points in the lecture. Students can download and print out these lecture slide images to do practice problems as well as take notes while watching the lecture.
- Intro
- Roadmap
- Overview of GridWorld
- Overview of GridWorld: Testable APIs
- Testable Code
- Location Class
- Location Class: 8 Public Constants That Help with Direction
- Location Class: 7 Public Constants That Represent Turns
- Location Class: Methods Useful in Navigating Through the Grid
- Location Class: 3 Other Useful Methods
- Grid Interface
- Grid Interface: Useful Methods
- Grid Interface: Useful Methods
- Grid Interface: Useful Methods
- GetOccupiedLocations Method
- GetValidAdjacentLocations Method
- GetEmptyAdjacentLocations Method
- GetOccupiedAdjacentLocations Method
- Grid Interface: Useful Methods
- Actor Class
- Constuctor: Actor
- GetColor Method
- SetColor Method
- GetDirectionToward Method
- SetDirection Method
- GetGrid Method
- GetLocation Method
- PutSelfInGrid and RemoveSelfFromGrid Method
- MoveTo Method
- Act Method
- ToString Method
- Rock Class
- Flower Class
- Bug Class
- BoxBug Class
- BoxBug Class Methods
- Critter Class
- ChameleonCritter Class
- Summary



































Start Learning Now
Our free lessons will get you started (Flash® 10 required).
Sign up for Educator.comGet immediate access to our entire library.
Features Overview