![]() |
|
InstallationFirst, you need to setup a new project in eclipse. The project's name should be SudukuSimulator and it should support JAVA level 5. Second, You need to extract the source code from the attached ZIP file to the project's directory. Third, you need to save the following JAR files in a directory called C:\ProjectJARs and then add them in the Add external JARs in the project properties.
Last you need to save the configuration file in your C: root directory (or change the ref. to the configuration file in the GUI). the sample config files are: suduku_book*.cfg configuration files controlling the size and complexity of the suduku board.
Now, compile and verify that no errors exist, you need to run the file
SudukuApplet.java as Java applet. Start-Up
The Applet starts with a blank canvass, a text box
where you can enter the configuration file path and file name, and an Init
button
that initiates the Applet.
Init
During the Init phase the Applet gets the graph configuration
from the configuration file and sets up the graph nodes and edges.
In addition, the Applet has a few other usefull buttons:
Run
During rhe run phase, the simulation colors each two
communicating nodes in red, while the information transfered between them is written
on the edge connecting them.
For final screenshots refer to the screenshots page. |
|
| |
|
Original site design by Pegasus Web Design Resources, modified by Ophir Bear | |