Cricket-game-using-PYQT

fanatsy_cricket


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

Fanatsy cricket is build in python using Pyqt5 library specifically QtCore QtGui QtWidgets for GUI development and SqliteStudio for Back end database connectivity.


Use of Badges

Build Status Github Issues Badges

open_team

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

code

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

evaluate_team

Tools

References

GitHub

View Github