TORONTO KIDS COMPUTER CLUB | Friday 17:00 Python Practice 20.09.25.
18362
post-template-default,single,single-post,postid-18362,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

Friday 17:00 Python Practice 20.09.25.

29 Sep Friday 17:00 Python Practice 20.09.25.

Question:

Make changes of the program we made in the class, so the enemy spaceship could complete the following tasks:

    • the enemy can bounce back when it reaches left or right edge.(You could change the direction of the enemy by changing the first item in self.speed attribute)
    • the enemy will start to go straight down with acceleration when the distance to the top of the window is greater than 300px.
No Comments

Sorry, the comment form is closed at this time.