American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

2 PM – Python Object Oriented Programming – Sebastian

October 28, 2023 @ 2:00 pm - 3:00 pm

Today We Did
  1. Created entire Bird class that flaps birds wings
  2. Blit random bird to screen each time program is run
  3. You can always find the code we wrote in class in my Gitlab repository here:
    https://gitlab.com/gsugiart/sat-2-pm-dragon-birdie/-/tree/Sebastian?ref_type=heads
  4. In case you need anything, feel free to email me at sebastian@ayclogic.com
Homework
  1. Homework: Look at the Github repository to see the setup code I gave you for the Cloud class
    1. Change the image which is loaded for self.image to correctly load a random cloud image (cloud1, cloud2, cloud3)
    2. In main.py, make a self.cloud_group the same way we made a bird_group
    3. Add a cloud object to our cloud group
    4. Call update on our cloud group so you can see the clouds drawn to the screen

Details

Date:
October 28, 2023
Time:
2:00 pm - 3:00 pm
Event Categories:
,
Verified by MonsterInsights