![]() |
|||||||||||||||||||||||||||||||||||||||||
|
Documentation
|
|||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||
Using the ART Game Designer to specify new games The Game Designer is the tool that allows to specify games that
later will be run using the Sim. This specification is stored in a XML
file that will be the input for the Sim. To run this tool, use the script
The interface is quite simple. Through the File menu you can create a New empty game specification, Save a specification, Save the current specification using a different name, adjust the preferences of the ART Game Designer and Exit of the application. When you run the ART Game Designer you start with an empty specification with a generic name "MyGame". The '*' after the window label "ART Game Designer" (see previous figure) indicates that the current specification has been modified and not yet saved. The first thing is to give a name to this game specification, the GameID. The "Game Config File" indicates the XML file that contains the specification that is being edited. If you are editing an empty specification, this field will take its value after the first Save. The ART Game Designer Preferences dialog (File/Preferences) allows you to define the root directories for agent definitions (the directory where there are the XML specifications of the participants) and the directory where there are the game specifications. This directories are only used to accelerate the process of finding participants or load previous specifications when using the ART Game Designer, they don't have any effect on the game specification..
In the following sections we will describe the general parameters and how to add participants to a game specification. Setting General Game Parameters In this section we describe the meaning of the game parameters that can be specified in the "General Parameters" tab.
Table
1: Game general parameters. The "Agents" tab allows to specify the participants in a game.
To add a new agent or set of agents, first select the file with the XML specification of the agent (IMPORTANT: do not select the .class or .jar, you have to select the .xml file). Once selected, the name of the file appears in the textfield "File Name". Then choose the number of instances that will participate of that type of agent in the game, give a name to the agents and select if they will be Dummy agents or not. When you press "Add" a new line describing the new addintion will appear in the right panel. Delete removes the selected entry. Naming the agents: The name of the agent has to be a unique identifier. When you specify a set of agents you have to use the pattern $c$ that will be substituted by a number once the agents are created in the Sim during the execution. For example, the name in the figure "cheating_$c$" will become "cheating_1", "cheating_2", ... , "cheating_5". You can put the $c$ pattern any place in the name of the agent. |
|||||||||||||||||||||||||||||||||||||||||