parameters: (self)
docstring: When all lives are lost, end_game adds last frame to memory resets the system
docstring_summary: When all lives are lost, end_game adds last frame to memory resets the system
docstring_tokens: When all lives are lost end_game adds last frame to memory resets the system
function: def end_game(self):
          """
          When all lives are lost, end_game adds last frame to memory resets the system
          """
          #: tell the memory that we lost
          # self.memory.add_last() # this will be done in Main.py
          
          #: send reset command to ALE
          self.fout.write("45,45\n")
          self.fout.flush()
          self.game_over = False
function_tokens: def end_game ( self ) : #: tell the memory that we lost # self.memory.add_last() # this will be done in Main.py #: send reset command to ALE self . fout . write ( "45,45\n" ) self . fout . flush ( ) self . game_over = False