예제 #1
0
	def GET(self):
		"""
		This function render lastScreen.html when the player either navigates to it by interacting with the website or typing in the appropriate url.

		Parameters:
		None

		Returns:
		None
		"""
		playerStateObject = PlayerState() #Updating the player state
		title,text = DBManager.getLastScreenDataFromDB(playerStateObject.player_id) #Assigning several variables by pulling data from the database
		return self.render.lastScreen(text,title) #Rendering lastScreen.html using the variables on line 239