code: def get_move_data(move):
      
      srcpath = path.dirname(__file__)
      try:
          f = open(path.join(srcpath, 'moves.json'), 'r')
      except IOError:
          get_moves()
          f = open(path.join(srcpath, 'moves.json'), 'r')
      finally:
          with f:
              return json.load(f)[move]
docs: Return the index number for the given move name. Check moves.json in the same directory.