public void receivedResponse(String response) {

		ReversiParser parser = new ReversiParser();
		ReversiCommand parsedCommand = parser.parseCommand(response);

		switch (parsedCommand.getType()) {
			case Ok: {

				if(this.awaitingResponse) {
					this.awaitingResponse = false;

					boolean isOk = response.equals("OK");
					if(isOk) {
						switch (this.currentCommand.getType()) {
							case Exit: {
								
							} break;
							case Move: {
								List<String> parameters = parsedCommand.getParameters();
								String column = parameters.get(0);
								String row = parameters.get(1);
								
								Integer rowInteger = new Integer(row);
								Position position = new Position(column, rowInteger);
								
								this.game.makeHomePlay(position);
								this.awaitingResponse = true;	//Waiting for the opposing player's response.
							} break;
							case Redo:{
								this.game.redoPlay();
							} break;
							case Undo: {
								this.game.undoPlay();
							} break;
							default: break;
						}
					}
				}
			} break;
			case Move: {
				//Enemy Move.
				
				List<String> parameters = parsedCommand.getParameters();
				String column = parameters.get(0);
				String row = parameters.get(1);
				
				Integer rowInteger = new Integer(row);
				Position position = new Position(column, rowInteger);
				
				this.game.makeAwayPlay(position);
				
			}
			default: break;
		}
	}