Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

seminar ppt that would help with easier usage and ppt submission in python language course, Schemes and Mind Maps of Engineering

this basically contains all the content requires for ppt slides

Typology: Schemes and Mind Maps

2022/2023

Uploaded on 11/21/2024

sakshi-singh-52
sakshi-singh-52 🇮🇳

1 document

1 / 15

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
PROGRAMMING WITH PYTHON
Course certificate by INTERNSHALA
submitted by Sakshi
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download seminar ppt that would help with easier usage and ppt submission in python language course and more Schemes and Mind Maps Engineering in PDF only on Docsity!

PROGRAMMING WITH PYTHON

Course certificate by INTERNSHALA submitted by Sakshi

ONLINE TRAINING ON PROGRAMMING WITH PYTHON FROM

INTERNSHALA

  • Introduction to python
  • Using variables in python
  • Basics of programming in python
  • Principles of Object Oriented programming(OOPs)
  • Connecting with Sql lite database
  • Developing a GUI with PyQt
  • Application of python with various discipline module.

INTRODUCTION Fantasy cricket It is 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 number 1 rank amongst participants.

TECHNOLOGIES

 (^) SQLite  (^) SQL Studio  (^) Python  (^) Pip  (^) Pyuic  (^) Pyqt  (^) Qt Designer

 Qt Designer

Using its simple drag and drop interface, a GUI interface can be quickly built without having to write the code. You can then drag and drop required widgets from the widget box on the left pane. You can also assign value to properties of widget laid on the form The designed form is saved as demo.ui. This ui file contains XML representation of widget and their properties in the design.

 Hardware

Requirements

  • Processors: Intel Atom processor or Intel core i processor
  • Disk space: 1 GB
  • Min RAM : 128 MB
  • Operating systems: Windows 7 or later, macOS, and Linux
  • Python versions: 2.7X, 3.6.X
  • Python should be installed on system
  • Path variable should be set for the python

Problem Statement Create a Fantasy Cricket game in Python.

The game should have all the features displayed in the mock-up screens in the scenario. To calculate the points for each player, you can use rules similar to the sample rules displayed below. Sample of Rules Batting ● 1 point for 2 runs scored ● Additional 5 points for half century ● Additional 10 points for century ● 2 points for strike rate (runs/balls faced) of 80- ● Additional 4 points for strike rate> ● 1 point for hitting a boundary (four) and 2 points for over boundary (six) Bowling ● 10 points for each wicket ● Additional 5 points for three wickets per innings ● Additional 10 points for 5 wickets or more in innings ● 4 points for economy rate (runs given per over) between 3.5 and 4. ● 7 points for economy rate between 2 and 3. ● 10 points for economy rate less than 2 Fielding ● 10 points each for catch/stumping/run out

Here`s how a fantasy game look like;

1 - Opening screen of the application. You can see the players of each category by selecting the category. To begin with, the selection is disabled until a new team is created from the Manage Teams menu. A pop up asking the name of the team appears. 2-The toolbar menu options which allow you to create a new team, open an existing team, save your team and finally evaluate the score of a saved team.

5 - Message if the game logic is not followed 6 - Pop-up on clicking Evaluate Score. You can select your team here and the match for which the players' performance is compared

7 - The final score for your fantasy team based on the match selected.