* @param gameId The argument specifying which game to play.
* @return The factory used to create all objects for the specified game.
*/
public static GameObjectFactory getGameObjectFactory(String gameId) {
if(gameId.equals(YOU_LOSE_GAME_ID)) {
return new YouLoseGameObjectFactory();
}
throw new IllegalArgumentException();
}