Cricket-game-using-PYQT
This is a Fantasy cricket Desktop application build in python that allows user to build their own dream cricket team , analyse it and play !!!....Isn't it exciting.....
Table of Contents
You're sections headers will be used to reference location of destination.
- Description
- Use of Badges
- Features
- Installation
- Code Snippet
- Getting Started
- Tools check these items
Description
Fanatsy cricket is build in python using
Pyqt5
library specificallyQtCore
QtGui
QtWidgets
for GUI development andSqliteStudio
for Back end database connectivity.
Use of Badges
- For more on these wonderful
badges
, refer tobadgerbadgerbadger
.
Features
- Create your own dream team in Auction
- Save your team and evaluate it later as per Match
- Initially a Owner will be provided with
1000 Points
to purchase there players - Team selection follows basic cricketing rules
- Not more than 5 batsman/bowler
- Only a Single Wicket Keeper
Installation
- install
PyQt5
python library using pip
pip install PyQt5
or
pip3 install PyQt5
- Install SqliteStudio for creating database for the
teams
,players
,stats
- Download Sqlite Studio - Sqlitestudio
Code Snippet
self.horizontalLayout.addWidget(self.label)
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.actionNEW_Team = QtWidgets.QAction(MainWindow)
self.actionNEW_Team.setObjectName("actionNEW_Team")
self.horizontalLayout_2.addWidget(self.lw1)
spacerItem = QtWidgets.QSpacerItem(200, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
Getting Started
git clone https://github.com/sanket560/cricket-game-using-PYQT/
-
install the required tools
-
fork or download the repo
-
run the following command in terminal
python3 fantasy.py