Introduction to GridWorld

posted by: Ms. Martin 8 March 2010 7 Comments

GridWorld is your AP case study. It’s a great opportunity to get familiar with a larger code base and see an example of well-designed object-oriented code at work. I hope you’ll have fun working with it, too!

Getting the files

Download a zip file of the Gridworld code.

Extract all the files from the Gridworld archive into your computer science folder.

JGrasp

You’ll need to add the Gridworld jar file to your CLASSPATH. Follow these images:


Eclipse

1) Create a new project
2) Right click on the project name in the package explorer
3) Click on ‘properties’ (very bottom option)
4) Click on ‘Java Build Path’
5) Click on ‘Add External JARs’
6) Find and add the GridWorld JAR

Exploring GridWorld

Spend some time answering the questions in the case study narrative. At this point, your goal should simply be to familiarize yourself with the GridWorld Environment.

1 Star2 Stars3 Stars4 Stars5 Stars (5 votes, average: 2.60 out of 5)
Loading ... Loading ...

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>