These are two projects which add the ability
to the Zuul game to display images for each room. This is
simple to do, and very motivating for students.
The first project (zuul-for-images) is prepared
for image display, but does not actually show images yet.
It can be used as a starting point if you want your students
to add the image display code themselves. It contains a class
UserInterface, that has a (currently unused) method
public void showImage(String imageName)
Any image in the project folder will be found.
The second project (zuul-with-images) is a working
solution of a small example that
actually shows some images.
Download: zuul-for-images.zip
zuul-with-images.zip |