Skip to content

maraenache/Python2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Python2023: Solitaire Game

Project Overview

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.

Features

  • 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.

Key Skills & Learning

  • 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.

Getting Started

Prerequisites

  • Python 3.x
  • Pygame library (Install via pip install pygame)

Installation

  1. Clone the repository to your local machine:
    git clone https://github.com/yourusername/Python2023.git
    

πŸ‘©β€πŸŽ“ Author

Mara-Georgiana Enache
Faculty of Computer Science, University of IaΘ™i
July 2024


πŸ“« Contact: maraenache1331@gmail.com
πŸ”— LinkedIn: linkedin.com/in/mara-enache

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages