public void mainMenuNewGame(String white, String black,
String ruleSet, int size, int handicap, float komi,
int ts, long mainTime, long byoYomiTime, int byoYomiAttr) {
display.setCurrent(gobanCanvas);
resetProblemEnum();
game = new DocumentedGame(size, komi, ruleSet, white, black);
game.setHandicap(handicap);
setMode(playMode);
setGame(game, true);
timeSystem.init(ts, mainTime, byoYomiTime, byoYomiAttr);
timeSystem.start(game.colorToPlay == Board.BLACK);