This project delivers a minimalist graphical interface enabling users to play the classic Solitaire card game. Developed using Python and the Pygame library, the project focuses on clean design and intuitive gameplay mechanics, offering a fun and accessible experience for users.
Additionally, the repository includes a weekly practice folder that contains exercises and challenges to enhance Python skills.
- Interactive Gameplay: Drag-and-drop functionality for moving cards seamlessly.
- Instant Victory Mode: A command-line flag
--instant_victory
enables immediate win conditions, perfect for testing and demonstrations. - Responsive UI: Dynamic rendering of cards and placeholders ensures a smooth user experience.
- Restart Capability: A dedicated restart button lets players reset the game at any point.
- Victory Detection: The game automatically detects win conditions when all foundation piles are correctly completed.
- GUI Development: Gained experience in building a graphical user interface using Pygame.
- Event Handling: Implemented responsive user interactions through effective event management.
- Game Logic: Developed comprehensive game mechanics, including move validation and win condition checks.
- Code Organization: Structured the project into modular components for better maintainability and scalability.
- Python 3.x
- Pygame library (Install via
pip install pygame
)
- Clone the repository to your local machine:
git clone https://github.com/yourusername/Python2023.git
Mara-Georgiana Enache
Faculty of Computer Science, University of IaΘi
July 2024
π« Contact: maraenache1331@gmail.com
π LinkedIn: linkedin.com/in/mara-enache