SlideShare a Scribd company logo
1 of 6
COVID-19
Program that simulates the
growth of the coronavirus and
shows the changes that are
obtained from following
preventive measures
Programing challenge
Source: envejecimientoenred.es/beta/wp-content/uploads/2020/03/2019-nCoV-CDC-23312.jpg
1. Virus movement
Program the movement of the virus
meeting the following conditions:
1. Adjust the size of the virus.
2. Use the “open” backdrop.
3. The movement should start with the
key space.
4. The virus must be able to move
throught all the background.
5. The virus must bounce when hitting
walls or limits.
Take as a base the blocks shown and
improve them according to what is
observed.
2. COVID-19 contagion
Use the provided blocks to simulate
the virus contagion meeting the
following conditions:
1. Adjust the size of the people.
2. The contagion should start with the
key space.
3. Start with the healthy costume for
the people.
4. When the virus touches the people
the costume must change to sick.
3. Starting conditions
Every time you run the simulation the
costumes and places of the sprites
changes and if you want to start again
you need to manually set the starting
conditions.
That’s why you need to define the
starting conditions and program them to
execute at the start of the simulation.
Activity: define the starting conditions
for your program (initial position and
initial costume), and use the example
code to program your starting conditions
for the virus and for the people.
Initial position
Initial costume
Next class challenge
How can you program the virus
spreading?
“Programa que
simule la vida de
una mariposa en
un invernadero”
Reto de programación

More Related Content

Similar to Virus, contagion and start

Covid19, varient overview
Covid19,  varient  overviewCovid19,  varient  overview
Covid19, varient overviewGagan Sharma
 
Face Mask Detection group 14.pptx
Face Mask Detection group 14.pptxFace Mask Detection group 14.pptx
Face Mask Detection group 14.pptxNavyaParashir
 
2_SARS-CoV-2_RDT_Training_02_Overview_v1.0.pptx
2_SARS-CoV-2_RDT_Training_02_Overview_v1.0.pptx2_SARS-CoV-2_RDT_Training_02_Overview_v1.0.pptx
2_SARS-CoV-2_RDT_Training_02_Overview_v1.0.pptxssuser3fac3f1
 
Covid vaccination training.pptx
Covid vaccination training.pptxCovid vaccination training.pptx
Covid vaccination training.pptxssuser1d41c52
 
Handbook of covid_19_prevention_english_mobile
Handbook of covid_19_prevention_english_mobileHandbook of covid_19_prevention_english_mobile
Handbook of covid_19_prevention_english_mobileMohammed Ghorab
 
s10489-020-01902-1.pdf
s10489-020-01902-1.pdfs10489-020-01902-1.pdf
s10489-020-01902-1.pdfHariKishor7
 
Facemask_project (1).pptx
Facemask_project (1).pptxFacemask_project (1).pptx
Facemask_project (1).pptxJosh Josh
 
Predicting Covid-19 pneumonia Severity on Chest x-ray with deep learning
Predicting Covid-19 pneumonia Severity on Chest x-ray with deep learningPredicting Covid-19 pneumonia Severity on Chest x-ray with deep learning
Predicting Covid-19 pneumonia Severity on Chest x-ray with deep learningIRJET Journal
 
COVID SLAYER - A Covid safety kit with biometric attendance system
COVID SLAYER - A Covid safety kit with biometric attendance systemCOVID SLAYER - A Covid safety kit with biometric attendance system
COVID SLAYER - A Covid safety kit with biometric attendance systemIRJET Journal
 
New عرض تقديمي من Microsoft PowerPoint.pptx
New عرض تقديمي من Microsoft PowerPoint.pptxNew عرض تقديمي من Microsoft PowerPoint.pptx
New عرض تقديمي من Microsoft PowerPoint.pptxdalya shakir
 
CORONA VIRUS & it’s effect on daily life
CORONA VIRUS & it’s effect on  daily lifeCORONA VIRUS & it’s effect on  daily life
CORONA VIRUS & it’s effect on daily lifeDanao Maibam
 
2020 Deep learning based detection and analysis of COVID-19 on chest X-ray im...
2020 Deep learning based detection and analysis of COVID-19 on chest X-ray im...2020 Deep learning based detection and analysis of COVID-19 on chest X-ray im...
2020 Deep learning based detection and analysis of COVID-19 on chest X-ray im...ssuser7fd2a9
 
Divya Drishti -Virus Scanner
Divya Drishti -Virus ScannerDivya Drishti -Virus Scanner
Divya Drishti -Virus ScannerMukesh Ray
 
SUBTOPIC: COVID-19 vaccine action
SUBTOPIC: COVID-19 vaccine actionSUBTOPIC: COVID-19 vaccine action
SUBTOPIC: COVID-19 vaccine actionGagan Sharma
 
SESSION 9 MODULE 4.pptx
SESSION 9 MODULE 4.pptxSESSION 9 MODULE 4.pptx
SESSION 9 MODULE 4.pptxraghuRAGHU56
 

Similar to Virus, contagion and start (20)

Covid19, varient overview
Covid19,  varient  overviewCovid19,  varient  overview
Covid19, varient overview
 
Face Mask Detection group 14.pptx
Face Mask Detection group 14.pptxFace Mask Detection group 14.pptx
Face Mask Detection group 14.pptx
 
2_SARS-CoV-2_RDT_Training_02_Overview_v1.0.pptx
2_SARS-CoV-2_RDT_Training_02_Overview_v1.0.pptx2_SARS-CoV-2_RDT_Training_02_Overview_v1.0.pptx
2_SARS-CoV-2_RDT_Training_02_Overview_v1.0.pptx
 
Covid vaccination training.pptx
Covid vaccination training.pptxCovid vaccination training.pptx
Covid vaccination training.pptx
 
Handbook of covid_19_prevention_english_mobile
Handbook of covid_19_prevention_english_mobileHandbook of covid_19_prevention_english_mobile
Handbook of covid_19_prevention_english_mobile
 
Covid19 Prevention and Treatment
Covid19 Prevention and TreatmentCovid19 Prevention and Treatment
Covid19 Prevention and Treatment
 
Handbook of covid 19 prevention and treatment
Handbook of covid 19 prevention and treatmentHandbook of covid 19 prevention and treatment
Handbook of covid 19 prevention and treatment
 
s10489-020-01902-1.pdf
s10489-020-01902-1.pdfs10489-020-01902-1.pdf
s10489-020-01902-1.pdf
 
Facemask_project (1).pptx
Facemask_project (1).pptxFacemask_project (1).pptx
Facemask_project (1).pptx
 
Predicting Covid-19 pneumonia Severity on Chest x-ray with deep learning
Predicting Covid-19 pneumonia Severity on Chest x-ray with deep learningPredicting Covid-19 pneumonia Severity on Chest x-ray with deep learning
Predicting Covid-19 pneumonia Severity on Chest x-ray with deep learning
 
Covid tracker
Covid trackerCovid tracker
Covid tracker
 
COVID SLAYER - A Covid safety kit with biometric attendance system
COVID SLAYER - A Covid safety kit with biometric attendance systemCOVID SLAYER - A Covid safety kit with biometric attendance system
COVID SLAYER - A Covid safety kit with biometric attendance system
 
New عرض تقديمي من Microsoft PowerPoint.pptx
New عرض تقديمي من Microsoft PowerPoint.pptxNew عرض تقديمي من Microsoft PowerPoint.pptx
New عرض تقديمي من Microsoft PowerPoint.pptx
 
CORONA VIRUS & it’s effect on daily life
CORONA VIRUS & it’s effect on  daily lifeCORONA VIRUS & it’s effect on  daily life
CORONA VIRUS & it’s effect on daily life
 
2020 Deep learning based detection and analysis of COVID-19 on chest X-ray im...
2020 Deep learning based detection and analysis of COVID-19 on chest X-ray im...2020 Deep learning based detection and analysis of COVID-19 on chest X-ray im...
2020 Deep learning based detection and analysis of COVID-19 on chest X-ray im...
 
Divya Drishti -Virus Scanner
Divya Drishti -Virus ScannerDivya Drishti -Virus Scanner
Divya Drishti -Virus Scanner
 
SUBTOPIC: COVID-19 vaccine action
SUBTOPIC: COVID-19 vaccine actionSUBTOPIC: COVID-19 vaccine action
SUBTOPIC: COVID-19 vaccine action
 
Covid 19 vaccine
Covid 19 vaccineCovid 19 vaccine
Covid 19 vaccine
 
Covid 19 ehs plan
Covid 19 ehs planCovid 19 ehs plan
Covid 19 ehs plan
 
SESSION 9 MODULE 4.pptx
SESSION 9 MODULE 4.pptxSESSION 9 MODULE 4.pptx
SESSION 9 MODULE 4.pptx
 

More from Juan Felipe

Destacados 2015 casa básica
Destacados 2015 casa básicaDestacados 2015 casa básica
Destacados 2015 casa básicaJuan Felipe
 
02 unidad 2 programación - event handling
02   unidad 2 programación - event handling02   unidad 2 programación - event handling
02 unidad 2 programación - event handlingJuan Felipe
 
App creation with app inventor
App creation with app inventorApp creation with app inventor
App creation with app inventorJuan Felipe
 
Destacados 2013 interior vivienda
Destacados 2013 interior viviendaDestacados 2013 interior vivienda
Destacados 2013 interior viviendaJuan Felipe
 
Physical computing arduino
Physical computing   arduinoPhysical computing   arduino
Physical computing arduinoJuan Felipe
 
Gamemaker introduction
Gamemaker introductionGamemaker introduction
Gamemaker introductionJuan Felipe
 
Elementos de electrónica
Elementos de electrónicaElementos de electrónica
Elementos de electrónicaJuan Felipe
 
Destacados 2014 casa avanzada
Destacados 2014 casa avanzadaDestacados 2014 casa avanzada
Destacados 2014 casa avanzadaJuan Felipe
 
Destacados 2014 casa básica
Destacados 2014 casa básicaDestacados 2014 casa básica
Destacados 2014 casa básicaJuan Felipe
 
Evaluación 7º 2014 ii
Evaluación 7º 2014 iiEvaluación 7º 2014 ii
Evaluación 7º 2014 iiJuan Felipe
 
Criterios de evaluación actividad final
Criterios de evaluación actividad finalCriterios de evaluación actividad final
Criterios de evaluación actividad finalJuan Felipe
 
Muestra diseño editorial
Muestra diseño editorialMuestra diseño editorial
Muestra diseño editorialJuan Felipe
 
Actividad final publicaciones
Actividad final publicacionesActividad final publicaciones
Actividad final publicacionesJuan Felipe
 
Montajes fotográficos en pixlr
Montajes fotográficos en pixlrMontajes fotográficos en pixlr
Montajes fotográficos en pixlrJuan Felipe
 
Edición y retoque digital
Edición y retoque digitalEdición y retoque digital
Edición y retoque digitalJuan Felipe
 
Edición de imagen
Edición de imagenEdición de imagen
Edición de imagenJuan Felipe
 
Afiche invitación a evento
Afiche invitación a eventoAfiche invitación a evento
Afiche invitación a eventoJuan Felipe
 
Tecnología grado 8º
Tecnología grado 8ºTecnología grado 8º
Tecnología grado 8ºJuan Felipe
 

More from Juan Felipe (20)

Game framework
Game frameworkGame framework
Game framework
 
Virus spread
Virus spreadVirus spread
Virus spread
 
Destacados 2015 casa básica
Destacados 2015 casa básicaDestacados 2015 casa básica
Destacados 2015 casa básica
 
02 unidad 2 programación - event handling
02   unidad 2 programación - event handling02   unidad 2 programación - event handling
02 unidad 2 programación - event handling
 
App creation with app inventor
App creation with app inventorApp creation with app inventor
App creation with app inventor
 
Destacados 2013 interior vivienda
Destacados 2013 interior viviendaDestacados 2013 interior vivienda
Destacados 2013 interior vivienda
 
Physical computing arduino
Physical computing   arduinoPhysical computing   arduino
Physical computing arduino
 
Gamemaker introduction
Gamemaker introductionGamemaker introduction
Gamemaker introduction
 
Elementos de electrónica
Elementos de electrónicaElementos de electrónica
Elementos de electrónica
 
Destacados 2014 casa avanzada
Destacados 2014 casa avanzadaDestacados 2014 casa avanzada
Destacados 2014 casa avanzada
 
Destacados 2014 casa básica
Destacados 2014 casa básicaDestacados 2014 casa básica
Destacados 2014 casa básica
 
Evaluación 7º 2014 ii
Evaluación 7º 2014 iiEvaluación 7º 2014 ii
Evaluación 7º 2014 ii
 
Criterios de evaluación actividad final
Criterios de evaluación actividad finalCriterios de evaluación actividad final
Criterios de evaluación actividad final
 
Muestra diseño editorial
Muestra diseño editorialMuestra diseño editorial
Muestra diseño editorial
 
Actividad final publicaciones
Actividad final publicacionesActividad final publicaciones
Actividad final publicaciones
 
Montajes fotográficos en pixlr
Montajes fotográficos en pixlrMontajes fotográficos en pixlr
Montajes fotográficos en pixlr
 
Edición y retoque digital
Edición y retoque digitalEdición y retoque digital
Edición y retoque digital
 
Edición de imagen
Edición de imagenEdición de imagen
Edición de imagen
 
Afiche invitación a evento
Afiche invitación a eventoAfiche invitación a evento
Afiche invitación a evento
 
Tecnología grado 8º
Tecnología grado 8ºTecnología grado 8º
Tecnología grado 8º
 

Recently uploaded

call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 

Recently uploaded (20)

call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 

Virus, contagion and start

  • 1. COVID-19 Program that simulates the growth of the coronavirus and shows the changes that are obtained from following preventive measures Programing challenge Source: envejecimientoenred.es/beta/wp-content/uploads/2020/03/2019-nCoV-CDC-23312.jpg
  • 2. 1. Virus movement Program the movement of the virus meeting the following conditions: 1. Adjust the size of the virus. 2. Use the “open” backdrop. 3. The movement should start with the key space. 4. The virus must be able to move throught all the background. 5. The virus must bounce when hitting walls or limits. Take as a base the blocks shown and improve them according to what is observed.
  • 3. 2. COVID-19 contagion Use the provided blocks to simulate the virus contagion meeting the following conditions: 1. Adjust the size of the people. 2. The contagion should start with the key space. 3. Start with the healthy costume for the people. 4. When the virus touches the people the costume must change to sick.
  • 4. 3. Starting conditions Every time you run the simulation the costumes and places of the sprites changes and if you want to start again you need to manually set the starting conditions. That’s why you need to define the starting conditions and program them to execute at the start of the simulation. Activity: define the starting conditions for your program (initial position and initial costume), and use the example code to program your starting conditions for the virus and for the people. Initial position Initial costume
  • 5. Next class challenge How can you program the virus spreading?
  • 6. “Programa que simule la vida de una mariposa en un invernadero” Reto de programación