American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

1 PM – Python Game Development

March 12, 2022 @ 1:00 pm - 2:00 pm

Today

  • We went over the homework to add the game won page.
  • We added logic so the enemy tank is recreated after winning the game.
  • We added the maze_solver and imported it in the enemy tank.

Homework:

  • Create a new sprite group called enemy_bullet_group that will hold bullets shot from the enemy tank.
  • Add a method called launch_enemy_bullet which fires a bullet from the self.enemy_tank.  You adapt the logic from self.launch_bullet method.   You shouldn’t need to click the mouse to launch the enemy bullet successfully.  Create a Bullet with the correct direction and then add it to the self.enemy_bullet_group.  Make sure the enemy bullets get drawn on the screen.

Details

Date:
March 12, 2022
Time:
1:00 pm - 2:00 pm
Event Category:
Verified by MonsterInsights