To create a Solitaire game using python PyQt5(GUI).
To enable user to play an solitaire game using simple python GUI window.
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" ..
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!
First, clone the repository to your local machine:
git clone https :// github .com / prathimacode - hub / Awesome_Python_Scripts .git
Create a virtual environment
cd Awesome_Python_Scripts / GUIScripts / Solitaire Game
Install the requirements:
pip install requirements .txt
@Akash20x