The document describes how to build a fantasy cricket game application where users can create a virtual cricket team by selecting real players from a database and score points based on the players' actual performances, with details on using Python and SQL for the application development, designing database tables to store player data, and developing a graphical user interface to allow team selection and score calculation. Key aspects of the application development covered are using Python and PyQt5 to build the GUI, designing relevant database tables, populating the GUI using code generated in PyQt designer, and ensuring proper code structure through techniques like modularity and error handling.
The document describes how to build a fantasy cricket game application where users can create a virtual cricket team by selecting real players from a database and score points based on the players' actual performances, with details on using Python and SQL for the application development, designing database tables to store player data, and developing a graphical user interface to allow team selection and score calculation. Key aspects of the application development covered are using Python and PyQt5 to build the GUI, designing relevant database tables, populating the GUI using code generated in PyQt designer, and ensuring proper code structure through techniques like modularity and error handling.
The document describes how to build a fantasy cricket game application where users can create a virtual cricket team by selecting real players from a database and score points based on the players' actual performances, with details on using Python and SQL for the application development, designing database tables to store player data, and developing a graphical user interface to allow team selection and score calculation. Key aspects of the application development covered are using Python and PyQt5 to build the GUI, designing relevant database tables, populating the GUI using code generated in PyQt designer, and ensuring proper code structure through techniques like modularity and error handling.
The document describes how to build a fantasy cricket game application where users can create a virtual cricket team by selecting real players from a database and score points based on the players' actual performances, with details on using Python and SQL for the application development, designing database tables to store player data, and developing a graphical user interface to allow team selection and score calculation. Key aspects of the application development covered are using Python and PyQt5 to build the GUI, designing relevant database tables, populating the GUI using code generated in PyQt designer, and ensuring proper code structure through techniques like modularity and error handling.
Download as DOCX, PDF, TXT or read online from Scribd
Download as docx, pdf, or txt
You are on page 1/ 6
PROJECT ON FANTASY CRICKET
GAME
It is an online game where you create a virtual team of real cricket
players and score points depending on how your chosen players perform in real life matches. To win a tournament, you must try and get the maximum points and the No. 1 rank amongst other participants. Here's how a Fantasy Cricket game may look like Technology used: 1. Python (language) . Basic knowledge (loops ,functions , connections etc..) . PYQT5 (install) . QT designer (To make GUI- use of icons, boxes etc…) 2. SQL or Excel Sheet for Database ( for connecting data )
Data Base design:
i. First, create the database of players.
ii. Plan the required tables and add data to your
database. iii. Next, create the GUI. Generate the required Python code for the UI. iv. Finally, populate the Python code generated in step ii with more attributes and method definitions (action listeners).
The following things required :-
Elements Categories Criteria
Application Flow Populate left list widget from database as per category radio button clicked Add players from players list to selected players list Remove players from selected players list to players list Show error if selection criterion is violated Calculate team score UI Widgets should be placed symmetrically Code Naming Convention Meaningful variable names Meaningful function names Modularity A single function should be used for a single task/No code repetition (make generalized functions) Error Handling Implement error handling wherever required Database Design Tables Number of tables Column names Data types Data ssss