synchronized private void saveGameState() {

		ObjectMapper mapper = new ObjectMapper();
		GameState state = new GameState();

		state.setLastId(store.getLastId());
		state.setPlayers(store.getPlayersRaw());

		try {
			mapper.writeValue(new File("state.json"), state);
		} catch (JsonGenerationException e) {
			e.printStackTrace();
		} catch (JsonMappingException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}

	}