code: def getRandomPipe():
      """returns a randomly generated pipe"""
      # y of gap between upper and lower pipe
      gapYs = [20, 30, 40, 50, 60, 70, 80, 90]
      index = random.randint(0, len(gapYs) - 1)
      gapY = gapYs[index]
  
      gapY += int(BASEY * 0.2)
      pipeX = SCREENWIDTH + 10
  
      return [
          {"x": pipeX, "y": gapY - PIPE_HEIGHT},  # upper pipe
          {"x": pipeX, "y": gapY + PIPEGAPSIZE},  # lower pipe
      ]
  
file_path: CNTK/Examples/ReinforcementLearning/FlappingBirdWithKeras/game/wrapped_flappy_bird.py
imports: import numpy
  import sys
  import random
  from game import flappy_bird_utils
  import pygame
  import pygame.surfarray
  from pygame.locals import *
  from itertools import cycle
label_desc: Use image node_id 1 for calling a global function with example usage: getRandomPipe() and returns: list