American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

6 PM – Python Game Development – Sebastian

November 28, 2023 @ 6:00 pm - 7:00 pm

Today We Did
  1. Developed algorithm to create tubes based on timer (both downwards and upwards
  2. Used math to find correct position of sprites to remove them when they go off of the screen
  3. Began creating Coin class
  4. You can always find the code we wrote in class in my Gitlab repository here:
    https://gitlab.com/gsugiart/tue-6-pm-dragon-birdie/-/tree/TUE-6PM-Sebastian
  5. In case you need anything, feel free to email me at sebastian@ayclogic.com
Homework
  1. Homework: Inside coin.py, in our Coin class, in next_costume, follow the pseudocode to complete our method:

    decrement flip timer
    if flip timer reaches 0:
        reset to original value
        increment "chosen image index"
        if the chosen image index becomes <= than the size of our list of coin images:
            reset chosen image index (to 0)
    return the image (inside coin_images) at "chosen image index"

Details

Date:
November 28, 2023
Time:
6:00 pm - 7:00 pm
Event Categories:
,
Verified by MonsterInsights