original_docstring: 
  	Reads the gameMap and blits all the objects to GUI accordingly
  	
docstring: Reads the gameMap and blits all the objects to GUI accordingly
docstring_tokens: Reads the gameMap and blits all the objects to GUI accordingly
code: def initialiseBoard(gameMap,width,height,goalSprite,boulderlist):
  	'''
  	Reads the gameMap and blits all the objects to GUI accordingly
  	'''
  	wallSprite=pygame.image.load('sprites/brick.png')
  
  	for row in range(height):
  		for col in range(width):
  			currItem=gameMap[row][col]
  
  			if(currItem>=0):
  				#creates a boulder object, displays it on the GUI and appends it to the boulderlist
  				boulderlist.append(boulder(col*50,row*50))
  				
  			elif(currItem==-1):
  				#displays wall on GUI
  				gameDisplay.blit(wallSprite,(col*50,row*50))
  
  			elif(currItem==-3):
  				#creates a man object and displays on the GUI
  				manOb=man(col*50,row*50)
  
  			elif(currItem==-4):
  				#displays goal on GUI
  				gameDisplay.blit(goalSprite,(col*50,row*50))
  
  			elif(currItem==-5):
  				#creates a man object, intialised to stand on the goal, and displays on GUI
  				manOb=man(col*50,row*50,1)
  
  			elif(currItem<=-10):
  				#creates a boulder object, intialised to stand on the goal, and displays on GUI
  				boulderlist.append(boulder(col*50,row*50,1))
  
  	return manOb
code_tokens: def initialiseBoard ( gameMap , width , height , goalSprite , boulderlist ) : wallSprite = pygame . image . load ( 'sprites/brick.png' ) for row in range ( height ) : for col in range ( width ) : currItem = gameMap [ row ] [ col ] if ( currItem >= 0 ) : boulderlist . append ( boulder ( col * 50 , row * 50 ) ) elif ( currItem == - 1 ) : gameDisplay . blit ( wallSprite , ( col * 50 , row * 50 ) ) elif ( currItem == - 3 ) : manOb = man ( col * 50 , row * 50 ) elif ( currItem == - 4 ) : gameDisplay . blit ( goalSprite , ( col * 50 , row * 50 ) ) elif ( currItem == - 5 ) : manOb = man ( col * 50 , row * 50 , 1 ) elif ( currItem <= - 10 ) : boulderlist . append ( boulder ( col * 50 , row * 50 , 1 ) ) return manOb
short_docstring: Reads the gameMap and blits all the objects to GUI accordingly
short_docstring_tokens: Reads the gameMap and blits all the objects to GUI accordingly
comment: '''
  	Reads the gameMap and blits all the objects to GUI accordingly
  	'''$SEP$#creates a boulder object, displays it on the GUI and appends it to the boulderlist$SEP$#displays wall on GUI$SEP$#creates a man object and displays on the GUI$SEP$#displays goal on GUI$SEP$#creates a man object, intialised to stand on the goal, and displays on GUI$SEP$#creates a boulder object, intialised to stand on the goal, and displays on GUI