Yinsh
The Engine - Tools
5.1 AI Performance Statistics
The GUI allows to match up 2 computer players for a certain number of games. After the games have been simulated, an extensive report is displayed showing the win results of the AI players. This report contains the win ratio and progress of the players, and a game event chart displaying the turns when rings were won and the duration of the game. This allows to analyze the strength and behaviour of the AI in a deeper way, since the number of wins doesn't explain a lot.
The JFreeChart library was used to draw the results into graphs.

Figure 5.1 - JVM Memory Usage

Figure 5.2 - Total Wins Overview

Figure 5.3 - Average Wins Overview

Figure 5.4 - Game Events
5.2 Logging
All events are logged as HTML output into separate logfiles (one file/day, one folder/month). This allows to track errors, or retrieve the played game moves. Several log levels can be specified in the configuration file, allowing to filter specific log information. The library Apache log4j was used for this purpose.

Figure 5.5 - Game Logging
5.3 Configuration
All settings of the engine can be configured in yinsh.properties, located in the root directory of the software.