American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

2 PM – Python Object Oriented Programming – Sebastian

December 2, 2023 @ 2:00 pm - 3:00 pm

Today We Did
  1. Added rectangles to all classes
  2. Removed sprites when they go off screen
  3. Added giant fireballs
  4. Learned about & created event listeners
  5. 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
  6. In case you need anything, feel free to email me at sebastian@ayclogic.com
Homework
  1. Homework: Complete the player_bird_collision method inside main.py as described in class:

    def player_bird_collision(self, player, bird):
        if player.rect.colliderect(bird.rect):
            """
            HOMEWORK:
            Think, what should happen when a bird hits you?
            (2 things, you can be creative)
            """
            return True
        else:
            return False

Details

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