SlideShare a Scribd company logo
PROBLEM SOLVING THROUGH PYTHON
PROGRAMMING
Suranjana N S
Vanathi S
Varshinie A L
Sriram R
Thirunavukarasu S
Vishal S
BATCH 6
 Game Development
 Games developed using python
 Is python good for game development?
 Popular games engines in python
 Guidelines to use python to create a
game
 Coding for quiz game
 Advantages of playing video games
c
 Game Development is the art of creating games and
describes the design, development and release of a
game.
 It may involve concept generation, design, build, test
and release.
 While you create a game, it is important to think about
the game mechanics, rewards, player engagement and
level design.
 While tons of studios use python for prototyping there are a
number of great games that use python as an integral part of
their game. Here are some fan favorites
Eve online
Disney's toon
town online
Battle field
Sid meier’s
civilization IV
Frets on fire
 For beginner game developers python is a great coding language
to start with for a few reasons.
<< Easy to understand syntax
<< Easy to debug(Fix errors)
<< Ability to reuse code
 Large games developed using c,c++ Eg: PUBG
 Python is used by large game studios for prototyping
 It is used a starter language for coding games
PYGAME (FOR
2D GAMES)
It is a low level
graphics.
Built using SDL
open source 2D
graphics library.
Doesn’t
support heavy
graphics game.
Simple python
game.
PANDA3D(FOR
3D GAMES)
Core of panda
3d written in
c++
It is used for
creating 3d
games.
It is called and
used through
python
interface.
Disney's toon
town .
Brainstorm
ideas until
you have a
type of
game in
mind
Break
your big
idea up
into
multiple
pieces
and
tackle
each
piece at a
time
Write
pseudo
code for
each
piece
Add
assets to
your
game
such as
images
and
music
Write the
logic for
each
piece
until its
working
as
intended
Test and
refactor
as
needed
Deploy
your
game
print('Welcome to Python Quiz')
answer=input('Are you ready to play the Quiz ? (yes/no) :')
score=0
total_questions=3
if answer.lower()=='yes':
answer=input('Question 1: In school, Albert Einstein failed most
of the subjects, except for physics and math?')
if answer.lower()==‘yes':
score += 1
print('correct')
else:
print('Wrong Answer :(')
answer=input('Question 2: The first song ever sung in the space was
“Happy Birthday.”')
if answer.lower()=='yes':
score += 1
print('correct')
else:
print('Wrong Answer :(')
answer=input('Question 3:Mice have more bones than humans')
if answer.lower()==‘yes':
score += 1
print('correct')
else:
print('Wrong Answer :(')
print('Thank you for Playing this small quiz
game, you attempted',score,"questions
correctly!")
mark=(score/total_questions)*100
print('Marks obtained:',mark)
print('BYE!’)
Welcome to Python Quiz
Are you ready to play the Quiz ? (yes/no) :yes
Question 1: In school, Albert Einstein failed most of the subjects, except for
physics and math? yes
correct
Question 2: The first song ever sung in the space was “Happy Birthday? yes
correct
Question 3: Mice have more bones than humans .Yes
correct
Thank you for Playing this small quiz game, you attempted 3 questions
correctly!
Marks obtained: 100.0
BYE!
Improved problem
solving skills and
logical thinking
Greater
multitasking ability
and accurate
decision making
Improved cognitive
abilities and
increased
concentration
Faster completion
of tasks , risk taking
abilities and team
work
It helps us to learn a
language and
reduces stress
1) https://www.codewizardshq.com/python-games/
2) https://www.askpoint.com/python/examples/easy-
games-in-python
Pspp_Game_development(final).pptx

More Related Content

Similar to Pspp_Game_development(final).pptx

Introduction to Game Development
Introduction to Game DevelopmentIntroduction to Game Development
Introduction to Game Development
Sumit Jain
 
A primer on game-based learning
A primer on game-based learningA primer on game-based learning
A primer on game-based learning
Gerard Friel
 
Video Game Instruction Booklets
Video Game Instruction BookletsVideo Game Instruction Booklets
Video Game Instruction Booklets
cloistereddock647
 
Game Development With Python and Pygame
Game Development With Python and PygameGame Development With Python and Pygame
Game Development With Python and Pygame
Chariza Pladin
 
Knock Knock on GameDev Gate
Knock Knock on GameDev GateKnock Knock on GameDev Gate
Knock Knock on GameDev Gate
BeMyApp
 
Impossible mission: estimating (game) development
Impossible mission: estimating (game) developmentImpossible mission: estimating (game) development
Impossible mission: estimating (game) development
Pietro Polsinelli
 
Introduction games for education presentation by steve bunce
Introduction games for education presentation by steve bunceIntroduction games for education presentation by steve bunce
Introduction games for education presentation by steve bunce
drstevebunce
 
Android Fish Game Development
Android Fish Game Development Android Fish Game Development
Android Fish Game Development
Rasel Khan
 
Knock knock on GameDev gateway! - Introduction to Game development
Knock knock on GameDev gateway! - Introduction to Game developmentKnock knock on GameDev gateway! - Introduction to Game development
Knock knock on GameDev gateway! - Introduction to Game development
Mamdouh Tarabishi
 
All I Ever Needed To Know About Programming
All I Ever Needed To Know About ProgrammingAll I Ever Needed To Know About Programming
All I Ever Needed To Know About Programming
Katrin Becker
 
App interaction
App interactionApp interaction
App interaction
reittes
 
Python games
Python gamesPython games
Python games
molw
 
Unreal Engine Course - MAGES Institute
Unreal Engine Course - MAGES InstituteUnreal Engine Course - MAGES Institute
Unreal Engine Course - MAGES Institute
Michael512473
 
Android game development.pptx
Android game development.pptxAndroid game development.pptx
Android game development.pptx
mskmoorthy
 
Algorithms for Computer Games - lecture slides 2009
Algorithms for Computer Games - lecture slides 2009Algorithms for Computer Games - lecture slides 2009
Algorithms for Computer Games - lecture slides 2009
Jouni Smed
 
Game Development as an Independent Developer.pdf
Game Development as an Independent Developer.pdfGame Development as an Independent Developer.pdf
Game Development as an Independent Developer.pdf
JeniferJenkins2
 
LAFS SVI Level 3 - Game Design and Analysis
LAFS SVI Level 3 - Game Design and AnalysisLAFS SVI Level 3 - Game Design and Analysis
LAFS SVI Level 3 - Game Design and Analysis
David Mullich
 
GAME 3400 Level Design - Introduction
GAME 3400 Level Design - IntroductionGAME 3400 Level Design - Introduction
GAME 3400 Level Design - Introduction
Seth Sivak
 
iOS Game Development: When Cocoa Met Cocos...
iOS Game Development: When Cocoa Met Cocos...iOS Game Development: When Cocoa Met Cocos...
iOS Game Development: When Cocoa Met Cocos...
Joseph Ku
 
The future of video games
The future of video gamesThe future of video games
The future of video games
Anas Albakri
 

Similar to Pspp_Game_development(final).pptx (20)

Introduction to Game Development
Introduction to Game DevelopmentIntroduction to Game Development
Introduction to Game Development
 
A primer on game-based learning
A primer on game-based learningA primer on game-based learning
A primer on game-based learning
 
Video Game Instruction Booklets
Video Game Instruction BookletsVideo Game Instruction Booklets
Video Game Instruction Booklets
 
Game Development With Python and Pygame
Game Development With Python and PygameGame Development With Python and Pygame
Game Development With Python and Pygame
 
Knock Knock on GameDev Gate
Knock Knock on GameDev GateKnock Knock on GameDev Gate
Knock Knock on GameDev Gate
 
Impossible mission: estimating (game) development
Impossible mission: estimating (game) developmentImpossible mission: estimating (game) development
Impossible mission: estimating (game) development
 
Introduction games for education presentation by steve bunce
Introduction games for education presentation by steve bunceIntroduction games for education presentation by steve bunce
Introduction games for education presentation by steve bunce
 
Android Fish Game Development
Android Fish Game Development Android Fish Game Development
Android Fish Game Development
 
Knock knock on GameDev gateway! - Introduction to Game development
Knock knock on GameDev gateway! - Introduction to Game developmentKnock knock on GameDev gateway! - Introduction to Game development
Knock knock on GameDev gateway! - Introduction to Game development
 
All I Ever Needed To Know About Programming
All I Ever Needed To Know About ProgrammingAll I Ever Needed To Know About Programming
All I Ever Needed To Know About Programming
 
App interaction
App interactionApp interaction
App interaction
 
Python games
Python gamesPython games
Python games
 
Unreal Engine Course - MAGES Institute
Unreal Engine Course - MAGES InstituteUnreal Engine Course - MAGES Institute
Unreal Engine Course - MAGES Institute
 
Android game development.pptx
Android game development.pptxAndroid game development.pptx
Android game development.pptx
 
Algorithms for Computer Games - lecture slides 2009
Algorithms for Computer Games - lecture slides 2009Algorithms for Computer Games - lecture slides 2009
Algorithms for Computer Games - lecture slides 2009
 
Game Development as an Independent Developer.pdf
Game Development as an Independent Developer.pdfGame Development as an Independent Developer.pdf
Game Development as an Independent Developer.pdf
 
LAFS SVI Level 3 - Game Design and Analysis
LAFS SVI Level 3 - Game Design and AnalysisLAFS SVI Level 3 - Game Design and Analysis
LAFS SVI Level 3 - Game Design and Analysis
 
GAME 3400 Level Design - Introduction
GAME 3400 Level Design - IntroductionGAME 3400 Level Design - Introduction
GAME 3400 Level Design - Introduction
 
iOS Game Development: When Cocoa Met Cocos...
iOS Game Development: When Cocoa Met Cocos...iOS Game Development: When Cocoa Met Cocos...
iOS Game Development: When Cocoa Met Cocos...
 
The future of video games
The future of video gamesThe future of video games
The future of video games
 

More from Vanathisekar2

Uniform and exponential distribution ppt
Uniform and exponential distribution pptUniform and exponential distribution ppt
Uniform and exponential distribution ppt
Vanathisekar2
 
Varsha.pptx
Varsha.pptxVarsha.pptx
Varsha.pptx
Vanathisekar2
 
mas-150813232504-lva1-app6892.pdf
mas-150813232504-lva1-app6892.pdfmas-150813232504-lva1-app6892.pdf
mas-150813232504-lva1-app6892.pdf
Vanathisekar2
 
evs ppt (2).pptx
evs ppt (2).pptxevs ppt (2).pptx
evs ppt (2).pptx
Vanathisekar2
 
chemistry ppt modified-1.pptx
chemistry ppt modified-1.pptxchemistry ppt modified-1.pptx
chemistry ppt modified-1.pptx
Vanathisekar2
 
maths diff.calculus ppt (1).pptx
maths diff.calculus ppt (1).pptxmaths diff.calculus ppt (1).pptx
maths diff.calculus ppt (1).pptx
Vanathisekar2
 
E-Textiles.doc
E-Textiles.docE-Textiles.doc
E-Textiles.doc
Vanathisekar2
 
maths diff.calculus ppt.pptx
maths diff.calculus ppt.pptxmaths diff.calculus ppt.pptx
maths diff.calculus ppt.pptx
Vanathisekar2
 
An Introduction to Metaverse.pdf
An Introduction to Metaverse.pdfAn Introduction to Metaverse.pdf
An Introduction to Metaverse.pdf
Vanathisekar2
 
ranjithreddy123-220304124409.pdf
ranjithreddy123-220304124409.pdfranjithreddy123-220304124409.pdf
ranjithreddy123-220304124409.pdf
Vanathisekar2
 
1.3 Stress & Strain Relationship of Hooke’s Law.ppt
1.3 Stress & Strain Relationship of Hooke’s Law.ppt1.3 Stress & Strain Relationship of Hooke’s Law.ppt
1.3 Stress & Strain Relationship of Hooke’s Law.ppt
Vanathisekar2
 

More from Vanathisekar2 (11)

Uniform and exponential distribution ppt
Uniform and exponential distribution pptUniform and exponential distribution ppt
Uniform and exponential distribution ppt
 
Varsha.pptx
Varsha.pptxVarsha.pptx
Varsha.pptx
 
mas-150813232504-lva1-app6892.pdf
mas-150813232504-lva1-app6892.pdfmas-150813232504-lva1-app6892.pdf
mas-150813232504-lva1-app6892.pdf
 
evs ppt (2).pptx
evs ppt (2).pptxevs ppt (2).pptx
evs ppt (2).pptx
 
chemistry ppt modified-1.pptx
chemistry ppt modified-1.pptxchemistry ppt modified-1.pptx
chemistry ppt modified-1.pptx
 
maths diff.calculus ppt (1).pptx
maths diff.calculus ppt (1).pptxmaths diff.calculus ppt (1).pptx
maths diff.calculus ppt (1).pptx
 
E-Textiles.doc
E-Textiles.docE-Textiles.doc
E-Textiles.doc
 
maths diff.calculus ppt.pptx
maths diff.calculus ppt.pptxmaths diff.calculus ppt.pptx
maths diff.calculus ppt.pptx
 
An Introduction to Metaverse.pdf
An Introduction to Metaverse.pdfAn Introduction to Metaverse.pdf
An Introduction to Metaverse.pdf
 
ranjithreddy123-220304124409.pdf
ranjithreddy123-220304124409.pdfranjithreddy123-220304124409.pdf
ranjithreddy123-220304124409.pdf
 
1.3 Stress & Strain Relationship of Hooke’s Law.ppt
1.3 Stress & Strain Relationship of Hooke’s Law.ppt1.3 Stress & Strain Relationship of Hooke’s Law.ppt
1.3 Stress & Strain Relationship of Hooke’s Law.ppt
 

Recently uploaded

Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
Neo4j
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
Fwdays
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
DianaGray10
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
Jason Packer
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
Miro Wengner
 
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid ResearchHarnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Neo4j
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
Edge AI and Vision Alliance
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
Zilliz
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
Fwdays
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
operationspcvita
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
saastr
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
Jason Yip
 
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
ScyllaDB
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
Javier Junquera
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
Ivanti
 

Recently uploaded (20)

Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
 
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid ResearchHarnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
 
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
 

Pspp_Game_development(final).pptx

  • 1. PROBLEM SOLVING THROUGH PYTHON PROGRAMMING Suranjana N S Vanathi S Varshinie A L Sriram R Thirunavukarasu S Vishal S BATCH 6
  • 2.  Game Development  Games developed using python  Is python good for game development?  Popular games engines in python  Guidelines to use python to create a game  Coding for quiz game  Advantages of playing video games
  • 3. c  Game Development is the art of creating games and describes the design, development and release of a game.  It may involve concept generation, design, build, test and release.  While you create a game, it is important to think about the game mechanics, rewards, player engagement and level design.
  • 4.  While tons of studios use python for prototyping there are a number of great games that use python as an integral part of their game. Here are some fan favorites Eve online Disney's toon town online Battle field Sid meier’s civilization IV Frets on fire
  • 5.  For beginner game developers python is a great coding language to start with for a few reasons. << Easy to understand syntax << Easy to debug(Fix errors) << Ability to reuse code  Large games developed using c,c++ Eg: PUBG  Python is used by large game studios for prototyping  It is used a starter language for coding games
  • 6. PYGAME (FOR 2D GAMES) It is a low level graphics. Built using SDL open source 2D graphics library. Doesn’t support heavy graphics game. Simple python game.
  • 7. PANDA3D(FOR 3D GAMES) Core of panda 3d written in c++ It is used for creating 3d games. It is called and used through python interface. Disney's toon town .
  • 8. Brainstorm ideas until you have a type of game in mind Break your big idea up into multiple pieces and tackle each piece at a time Write pseudo code for each piece Add assets to your game such as images and music Write the logic for each piece until its working as intended Test and refactor as needed Deploy your game
  • 9. print('Welcome to Python Quiz') answer=input('Are you ready to play the Quiz ? (yes/no) :') score=0 total_questions=3 if answer.lower()=='yes': answer=input('Question 1: In school, Albert Einstein failed most of the subjects, except for physics and math?') if answer.lower()==‘yes': score += 1 print('correct') else: print('Wrong Answer :(')
  • 10. answer=input('Question 2: The first song ever sung in the space was “Happy Birthday.”') if answer.lower()=='yes': score += 1 print('correct') else: print('Wrong Answer :(') answer=input('Question 3:Mice have more bones than humans') if answer.lower()==‘yes': score += 1 print('correct')
  • 11. else: print('Wrong Answer :(') print('Thank you for Playing this small quiz game, you attempted',score,"questions correctly!") mark=(score/total_questions)*100 print('Marks obtained:',mark) print('BYE!’)
  • 12. Welcome to Python Quiz Are you ready to play the Quiz ? (yes/no) :yes Question 1: In school, Albert Einstein failed most of the subjects, except for physics and math? yes correct Question 2: The first song ever sung in the space was “Happy Birthday? yes correct Question 3: Mice have more bones than humans .Yes correct Thank you for Playing this small quiz game, you attempted 3 questions correctly! Marks obtained: 100.0 BYE!
  • 13. Improved problem solving skills and logical thinking Greater multitasking ability and accurate decision making Improved cognitive abilities and increased concentration Faster completion of tasks , risk taking abilities and team work It helps us to learn a language and reduces stress