public void receive(SmashClientHost client, String line) {
		int index = 0;
		for(; index < players-1; index++){
			if(client.equals(clients[index]))
				break;
		}
		if(line.startsWith(FILE_START_SKIN)){
			String name = TEMP_FOLDER_PATH+client.getName()+".sskin";
			FileTools.saveFromInput(new File(name), client.getInput(), client.getBufferSize());
			game.addPlayer(new File(name), client.getName());
			transfer(PLAYER_NUM+" "+players+" "+MAX_PLAYERS);
		}else if(line.startsWith(USERNAME)){
			client.setName(line.substring(USERNAME.length()));
			transfer(PLAYER_NUM+" "+players+" "+MAX_PLAYERS);
		}else if(line.startsWith(READY)){
			client.setReady(true);
			boolean all = true;
			for(int i = 0; i < clients.length; i++){
				all = all && clients[i] != null	&& clients[i].isReady();
			}
			if(all)
				start();
		}else{
			game.input(client.getName()+NAME_SEPARATOR+line);
		}
	}