memoryCard Packages you need to import are : pygame easygui random Run with memoryCard.py in the same directory with /images. And you need the scores.txt file to save score.