diff --git a/cards.py b/cards.py index 70c2f9a..e4a369d 100644 --- a/cards.py +++ b/cards.py @@ -178,7 +178,7 @@ class Deck(): self.update_deck_display() def update_deck_display(self): - self.background.fill((0, 255, 0)) + self.deck_surface.fill((0, 255, 0)) self.deck_surface.blit(self.background, (0, 0)) if not self.is_empty(): if self.draw_from_last: diff --git a/main.py b/main.py index afd08c9..87fed29 100644 --- a/main.py +++ b/main.py @@ -5,7 +5,7 @@ import random import pickle import sys -AUTOPLAY = False +AUTOPLAY = True class GameScreen(view.PygView):