|LMC2 Testing Zone||
|In order to allow you to test your program by conducting your own mini-tournaments, we have made the judge program available for download. The download includes the judge program itself, example games and example players. It isn't necessary to download anything to enter the challenge; we've just provided these files to help you prepare for it.
|All the executable files provided in the Binary Distribution package below were built using the source files which are included in the LMC2 SDK Source Distribution package.|
The binary distribution includes an executable version of the judge program, an example game called ImitateGame and an example player called ImitatePlayer. The binary distribution packages are available here:
Binary Windows Distribution
Binary Linux Distribution
Running the Judge Program
The Judge program included in the Binary Distribution allows you to easily run a game session by invoking a game program with one or two player programs. Since LMC2 is about single-player language games you will probably not use the two-player option much, it is included, though, to enable you to experiment with different types of game strategies.
The provided Judge program is simple and is not the Judge program that will be used to manage the LMC2 competition itself. Its complete TCL source is included in LMC2’s SDK Source Distribution.
The sample Judge helps you debug your game or player by creating comprehensive log files detailing all the information passed between a game and player. The Judge’s UI can report the game session’s status and comments received from game and player. When the session ends, the Judge prints the total score the player has achieved.
The Judge is a console program; following is a description of its command line arguments:
| Argument Format|| Description|
| -v|| Produce detailed output during execution|
| -g value|| Game executable or command|
| -p1 value|| Specify player 1 executable or command|
| -p2 value|| Specify player 2 executable or command|
| -lg|| Generate game log (game.log) file|
| -lp1|| Generate player 1 log (player1.log) file|
| -lp2|| Generate player 2 log (lpayer2.log) file|
| -fl|| Flush log on a line basis, tail friendly|
| -? Or -help|| Show command line arguments|
For example, to run an ImitateGame game session with the ImitatePlayer player and to instruct the judge to generate both game and player log files, you should use the following command:
judge -v -g ImitateGame -p1 ImitatePlayer -lg -lp1
Windows Binary Distribution
Windows Source Distribution
Linux Binary Distribution
Linux Source Distribution
If you have any questions about the Learning Machine Challenge, post them on the Ai Forums.