A desktop implementation of the classic Solitaire card game written in Python.
This project was developed as an individual university assignment. The goal was to recreate the classic Solitaire card game while applying object-oriented programming principles and modular software design.
The application allows users to play Solitaire with a graphical interface, drag-and-drop card interactions, and standard game rules.
A desktop implementation of the classic Solitaire card game written in Python.
- Classic Solitaire gameplay
- Graphical user interface
- Drag-and-drop card movement
- Object-oriented architecture
- Modular code organization
- Python 3
- Pygame Zero
- Object-Oriented Programming
app.py # Application entry point
game.py # Game logic
events.py # Event handling
figures.py # Card models
images/ # Graphics
fonts/ # Fonts
- Python 3..1 or newer
Clone the repository:
git clone https://github.com/nxastr/python-solitaire.gitInstall dependencies:
cd python-solitaire
pip install -r requirements.txtRun the application:
python app.py- Add game timer
- Add score saving
- Add difficulty levels
- Improve animations
- Add sound effects
Zuzanna Chmielewska
