Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Solitaire

A desktop implementation of the classic Solitaire card game written in Python.

About the project

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.

♠ Python Solitaire

Python Solitaire

A desktop implementation of the classic Solitaire card game written in Python.

Features

  • Classic Solitaire gameplay
  • Graphical user interface
  • Drag-and-drop card movement
  • Object-oriented architecture
  • Modular code organization

Technologies

  • Python 3
  • Pygame Zero
  • Object-Oriented Programming

Project structure

app.py          # Application entry point
game.py         # Game logic
events.py       # Event handling
figures.py      # Card models
images/         # Graphics
fonts/          # Fonts

Requirements

  • Python 3..1 or newer

Installation

Clone the repository:

git clone https://github.com/nxastr/python-solitaire.git

Install dependencies:

cd python-solitaire

pip install -r requirements.txt

Run the application:

python app.py

Future improvements

  • Add game timer
  • Add score saving
  • Add difficulty levels
  • Improve animations
  • Add sound effects

Author

Zuzanna Chmielewska

About

Classic Solitaire card game written in Python using Pygame Zero.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages