See the assignment turn-in page (last modified on 2010 February 23) for instructions on turning in your assignment.
The absolute deadline for turning-in Assignment 3 is Saturday, 16 April at 11:30 p.m. It is not possible to turn-in Assignment 3 after the absolute deadline.
Write the method shortestGame()
that accepts a game and returns a shortest
sequence of boards that leads to a winning game starting from the initial board.
shortestGame()
is defined in the interface
/export/home/class/cs-503/pa3/GameAnalysis.java
The Game
interface used in shortestGame
does not need an
implementation. The Game
interface has already been implemented, and is
part of the jar file.
/export/home/class/cs-503/pa3/pa3.jarby typing
$ java -classpath jar-path/pa3.jar:. main class-name
where jar-path
is the path to pa3.jar
and class-name
is the name of the class implementing the GameAnalysis
interface. For
example, if the class QuickestGame
implements GameAnalysis
and you’re using pa3.jar
in the public class directory, you would type
$ java -classpath /export/home/class/cs-503/pa3/pa3.jar:. main QuickestGame
This page last modified on 2010 November 27. |