Ejemplo n.º 1
0
  @Override
  public void commitRound(String gameId, String playerId) {
    try {
      IGame game = getGame(gameId);
      Logger.info(String.format("Player %s has committed the round.", playerId));
      game.commitRound(playerId);

    } catch (IllegalStateException ex) {
      Logger.error(ex.toString());
    }
  }