This is the code: https://paste.pythondiscord.com/ACDA
and this is the error:
Traceback (most recent call last):
File "/home/ddking/Python programs/NEA-Briscola/Trials.py", line 66, in <module>
player1_first_card = Buttons.Button(20, 200, pygame.image.load(player1[0].filename).convert_alpha(), 0.25)
pygame.error: cannot convert without pygame.display initialized