Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Solitaire Game

Aim:

  • To create a Solitaire game using python PyQt5(GUI).

Purpose:

  • To enable user to play an solitaire game using simple python GUI window.

Description:

  • This project is to build a Solitaire game using python PyQt5.
  • For this game, we will need to import Python modules one for creating GUI and for generating random numbers and taking environment variables.
  • For GUI we will use "PyQt5 module"..

About this Game:

  • When we Run this game
  • First the user will see a window in which 4 decks of card are arranged in 7 suits of cards and 1 stack card which is use to choose external card.
  • We can place a card over another card with a condition:
  • Upper card is larger than lower card
  • If color of larger card is red then you have to choose lower card of color black and vice versa.
  • When place one card to another,you can see that back of the card apper then you to click it to see the card.
  • There are 4 empty columns in the game in which you have to fill all cards in the order:
  • Starting from A to the K for every deck of card .
  • When you fill all cards you can win the game!

Installation Process:

First, clone the repository to your local machine:

git clone  https://github.com/prathimacode-hub/Awesome_Python_Scripts.git

Create a virtual environment

python -m virtual env 

Go To Project Directory

cd Awesome_Python_Scripts/GUIScripts/Solitaire Game

Install the requirements:

pip install requirements.txt

Run python file:

python main.py

Sample Output:

alt text

alt text

alt text

alt text

alt text

Author:

@Akash20x