- Setup
- Resources
- Role Play
- Custom Critters
- Asteroids!
1. GridWorld Installation Files
Here is a zip for for the Gridworld installation files.
2. Installing GridWorld
Here is a document that shows you how to setup Gridworld on a variety of platforms. We'll explore this in detail this summer.
3. Installing GridWorld (video)
A short video clip showing how to get Gridworld up and running in BlueJ.
1. The GridWorld Quick Reference (aka GridWorld API)
This is the documentation that the students have access to on the AP Exam.
2. AP Central GridWorld Resources
A link to the AP Central College Board GridWorld site.
3. The Amazon Project
Below is the link for my GridWorld Simulation Project simulating an Amazon Rainforest.
The Amazon
Lew's GridWorld inheritance tree and block diagram 4. GridWorld Links from Cay Horstmann
GridWorld API
Notes on the GridWorld API
GridWorld FAQs 5. GridWorld Links from Robert Glen Martin
Additional GridWorld Projects
1. There was a role play for the Marine Biology Simulation. Is there one for GridWorld?
Yes, the authors of the MBS role play, David Levine and Steve Andrionoff, have written a role play for GridWorld.
I also have a modified version that has been field tested and modified by my APCS students and Summer APSI participants. We will cover this in depth during the summer workshops (updated 28 Jul 2009).
1. How do I add my own creatures to the GridWorld Simulation?
Here are the steps that you need to follow to create your own "creature" and insert it into a working GridWorld Project. Have fun!!
2. The "Your Creature" GridWorld Project
The "Your Creature" Battle Royale Project
GridWorld Asteroids (Sam Ordonia '09 / Alex Aristov '09)
Asteroids.zip file
This is a post-AP GridWorld project which uses multi-threading to play music (.wav files) while the game is being played. Here are some details/features of the project:
a) The two .wav files that were used by my students are too big (~50MB) to put on my server, but you can simply use your own .wav files. Just change the names of the .wav files in the "SoundRunnable.java" file and place the .wav files in the same directory as the .java files.
b) After doing (a) above, you can simply open "Asteroids2.jcp" file using JCreator, attach the GridWorld jars, and run! (else you can create your own project in your own environment with the Java files included in folder).
c) The keystrokes for moving are in the readme file (in the zip file.)
Some interesting features:
a) Feature 1: Asteroid, Ship and Boolet (aka bullet) extend Critter.
b) Feature 2: Galaxy extends ActorWorld.
c) Feature 3: Threads are used to play music in background so game can run "uninterrupted".
d) Feature 4: A second JFrame accepts keystrokes to control your ship.
e) Feature 5: The "AeWavePlay.java" file is third party code that my students integrated into the GW Asteroid project.
Have fun!! If you have questions/comments, feel free to email me at: mlew@loyolahs.edu
faqs
pedagogy
content
gridworld
eThreads
daily schedule
*AP is a registered trademark of the College Board.
© 2010 Michael Lew