Dec-13-2020, 10:24 PM
(This post was last modified: Dec-14-2020, 05:01 AM by michael1789.)
Well, the first problem is that the king is never killed in chess. The game ends the turn before before that.
That said, this might work for you.
That said, this might work for you.
for elem in self.destroyed_pieces: if elem == "bk.png": messagebox.showinfo("White Wins") if elem == "wk.png": messagebox.showinfo("Black Wins")