Uncompress the "WIDM.zip" file, you should get these files.
Folder "javadoc"
Folder "lib"
file "README.TXT"
file "WIDM.jar"
Make sure you install Java SDK in your computer.
Use console to enter the folder , run the command "java -jar WIDM.jar".
The GUI should now start up as in Figure 1.
Figure 1: The Startup window
GUI
In the startup window which is shown in Figure 1, you can
set:
Number of agents including the mole
Number of assignments per round
Click "Simulate" button to start the game. You can run multiple games simultaneously.
Fig. 2 shows the main game window. There are four components in the main window:
On the top there is an information bar, denoting the current round and
the number of agents left.
The text area in the center tells the story of the game. It records all the important
event in the game, e.g., which agents work together in assignments, intentions of agents, the results of assignments, the number of
conversations, which contestant is eliminated, etc.
The button array with agents' name on the right shows the status of the agents.
All the contestants' names are in green, the mole's name is in brown.
The contestants who are eliminated from the game turn red. You can open the
"Agent view" by clicking the buttons (see below).
Three buttons on the bottom control the game flow. "Next step" makes the game go forward
for one step; "Simulate all" makes the game keep running until the end; "Quit" exits the game.
When you click an agent button, the "Agent view" for this agent opens up as in Figure 3.
There are three components in it:
The caption bar shows the type of contestant: sly, rational or plain.
The upper bar chart is the suspicion diagram. It shows the suspicious weight
for every agent. The bar chart is updated in real time.
The text area below shows the pondering of the agent, e.g. what are her observations, who is her suspicion, knowledge from conversations,
and several kinds of decisions and inferences.
Note
If you cannot open the "Agent view", please check and
make sure "lib" folder exists in the same folder with "WIDM.jar".
Figure 2: Main window
Figure 3: Agent view window
Source code
You can download all the java code source code here.
JavaDoc
You can browse the javadoc files
here. All
the packages, classes, methods and class members are explained in the
javadoc..