American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

3 PM Python Game Development

November 2, 2019 @ 3:00 pm - 4:00 pm

  1. We went over how to setup Pycharm. But failed to install Pygame. I will revisit this next week.
  2. We made the bouncing of the ball with the paddle a little bit more random.
  3. We also make sure that all the 3 sound effects were added properly.
    1. When the ball hit the paddle, it should play the “bubbles.wav” sound effect.
    2. When the ball hit the left or right edge, it should play the “blast.wav” sound effect.
    3. When the ball hit the top or bottom edge, it should play the “plop.wav” sound effect.
  4. Homework:
    1. Inside Pong.py, init the __init__(), add self.winning_score = 3
    2. Whenever the score of each player increase, check if the player score is equal to the winning_score. If it does, display “BluePlayerWin.png” or “OrangePlayerWin.png” banner depending on who wins the game.
    3. Get all the assets from the google drive.

Details

Date:
November 2, 2019
Time:
3:00 pm - 4:00 pm
Event Categories:
,