* Factory method to create the game controller via reflection.
* The server should not have a ui component.
*/
private void createController(String gameName) {
GamePlugin plugin = PluginManager.getInstance().getPlugin(gameName);
GameContext.loadResources(gameName);
// for now, also create a corresponding viewer. The server should really not have knowledge of a UI component.
// fix this by doing plugin.getModelInstance, then getting the controller from that.
GamePanel panel = plugin.getPanelInstance();
panel.init(null);
GameBoardViewer viewer = panel.getViewer();
controller_ = viewer.getController();
}