diff --git a/boom.py/boom.py b/boom.py/boom.py index 50fcc01..af35311 100644 --- a/boom.py/boom.py +++ b/boom.py/boom.py @@ -15,16 +15,17 @@ class App: def spawn_popup(self): # Create a new Toplevel window (separate from root) - popup = tk.Toplevel(self.root) - popup.title("Fatal Error: fu") - popup.geometry(f"300x200+{random.randint(0,800)}+{random.randint(0,600)}") + for i in range(10): + popup = tk.Toplevel(self.root) + popup.title("Fatal Error: fu") + popup.geometry(f"300x200+{random.randint(0,800)}+{random.randint(0,600)}") - tk.Label( - popup, - text="Say bye to your computer", - fg="red", - font=("Courier", 14, "bold") - ).pack(expand=True) + tk.Label( + popup, + text="Say bye to your computer", + fg="red", + font=("Courier", 14, "bold") + ).pack(expand=True) # Schedule next popup self.root.after(0.1, self.spawn_popup) # 1000 ms = 1 second