public void DoTheOption(char key){
		
		switch(key){
			case 'z':
				String tmp = null;
				//pop current room
				//we need to pop one before last element to get to the previous room
				if (!history.IsEmpty()) {
					tmp =history.pop();}
				else {
					System.out.print("\nSorry, you are in the first room\n");
					}
				if (!history.IsEmpty()) {
					tmp =history.pop(); }
				else {
					System.out.print("\nSorry, you are in the first room\n");
				}
			
				if (tmp != null){
					GoToRoom(tmp);
				}
				else System.out.print("\nSorry, you are in the first room\n");
				break;
				
			case 'r':
				Restart();
				break;
				
			case 'y':
				PrintAdventure();
				//game.GameWorld.Print();
				break;
				
			case 'q':
				//System.exit(0);
				break;
				
			default:
				if(CurrentRoom.Options.get(key)!=null) GoToRoom(CurrentRoom.Options.get(key).RoomTag);
				break;
		}
		
		return;
	}