typing_test/typing_test.py
def restart(self):
        """
        Reset the Game class, effective starting a new game
        with new words, but based on same configuration.
        """
        self.input = ""
        self.correct = []
        self.incorrect = []
        self.typed = []
        self.next_words = [self._get_word() for _ in range(QUEUE_SIZE)]

        if self.display == "10ff":
            self.offset = 0
            self.current_line = []
            self.next_line = []

        self.play()

        Reset the Game class, effective starting a new game
        with new words, but based on same configuration.
        
Reset the Game class, effective starting a new game
with new words, but based on same configuration.
Reset the Game class effective starting a new game with new words but based on same configuration .
def restart(self):
        self.input = ""
        self.correct = []
        self.incorrect = []
        self.typed = []
        self.next_words = [self._get_word() for _ in range(QUEUE_SIZE)]
        if self.display == "10ff":
            self.offset = 0
            self.current_line = []
            self.next_line = []
        self.play()
def restart ( self ) : self . input = "" self . correct = [ ] self . incorrect = [ ] self . typed = [ ] self . next_words = [ self . _get_word ( ) for _ in range ( QUEUE_SIZE ) ] if self . display == "10ff" : self . offset = 0 self . current_line = [ ] self . next_line = [ ] self . play ( )
Reset the Game class, effective starting a new game
with new words, but based on same configuration.
Reset the Game class effective starting a new game with new words but based on same configuration .
"""
        Reset the Game class, effective starting a new game
        with new words, but based on same configuration.
        """
self