Support both GUI and console. By using parameters "console numberOfGamesAsInt"