public int createNewGame(String name) throws Exception {

		prepareConnection();
		webResource = client.resource(address + "adminPanel/newGame/" + name);

		ClientResponse response = webResource.type(MediaType.APPLICATION_JSON)
				.post(ClientResponse.class, null);

		return response.getStatus();
	}