diff --git a/TriviaGameFristVersion.py b/TriviaGameFristVersion.py index 5059043..d87a7b3 100644 --- a/TriviaGameFristVersion.py +++ b/TriviaGameFristVersion.py @@ -79,6 +79,8 @@ def next_question(self): self.colors = [white, white, white, white] self.current += 6 if self.current >= self.total: + if self.score == self.total -1: + sys.exit() self.current = 0