gym_splendor_code/envs/splendor.py
def render(self, mode='human', interactive = True):
        """Creates window if necessary, then renders the current_state of the game """
        if self.gui is None:
            self.gui = SplendorGUI()

        self.gui.interactive = interactive

        #clear gui:
        #self.gui.clear_all()
        #draw current_state
        self.gui.draw_state(self.current_state_of_the_game)
Creates window if necessary, then renders the current_state of the game 
Creates window if necessary, then renders the current_state of the game
Creates window if necessary then renders the current_state of the game
def render(self, mode='human', interactive = True):
        if self.gui is None:
            self.gui = SplendorGUI()
        self.gui.interactive = interactive
        self.gui.draw_state(self.current_state_of_the_game)
def render ( self , mode = 'human' , interactive = True ) : if self . gui is None : self . gui = SplendorGUI ( ) self . gui . interactive = interactive self . gui . draw_state ( self . current_state_of_the_game )
Creates window if necessary, then renders the current_state of the game
Creates window if necessary then renders the current_state of the game
"""Creates window if necessary, then renders the current_state of the game """ #clear gui: #self.gui.clear_all() #draw current_state
self
mode
interactive