CS124, Fall 2010


Assignment #9

TARGET DATE: Monday, December 13.


This is the conclusion of the project begun in Assignment 8 to create a Processing applet that allows a user to solve the "eight puzzle" with a mouse, as illustrated here.

You'll be starting with quite a bit of code, which can be found (along with its behavior) on this page. Besides the files EightPuzzleFramework, EightPuzzle.java (a pared-down version of what you did in Assignment 8), PushBar.pde and Square.pde, you will also need the various fonts indicated. We'll go over how to put all this together in lab 8, as well as how to proceed.

In lab 7, we'll also see how to convert this to a real Java applet and post it on a web-page (like in the links above). This will be a straightforward but fun part of the assignment.

Now when you're done, you might find yourself wanting some further challenges. There are a number of directions you can take here. Some ideas, in roughly increasing order of difficulty (none of which, I confess, have been implemented by me except for the first):

Back to CS 124 Home Page