The classic game of Solitaire written entirely in Python using Pygame! My first project with Pygame, which took around 4 days to complete.
To run the main script (solitaire.py) using Python (preferably version 3.14.2), you will need both the card module (included in the repo) and pygame-ce (Pygame Community Edition, install using pip).
For all-in-one executable files with all dependencies included, check out the releases page here!
- Playing cards (by Byron Knoll, open source/public domain license): https://opengameart.org/content/playing-cards-vector-png
- Red card back (by jeffshee, Creative Commons 3.0 license): https://opengameart.org/content/colorful-poker-card-back
- Icon used for release executables (by Oxygen Team, LGPL license): https://www.iconarchive.com/show/oxygen-icons-by-oxygen-icons.org/Categories-applications-games-icon.html
- Stack Overflow, for a lot of answers on relevant Python questions and for providing the source code for the get_path helper function used in my script