public void checkPlayerExists(String name) throws ValidationException {
        for (Player aPlayer : players.values()) {
            if (aPlayer.getName().equals(name)) {
                throw new ValidationException("The player with name " + name + " already exists. Please choose another name");
            }
        }

    }