TORONTO KIDS COMPUTER CLUB | Tuesday Python Homework 18:30 – 22.02.15.
post-template-default,single,single-post,postid-20331,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

Tuesday Python Homework 18:30 – 22.02.15.

20 Feb Tuesday Python Homework 18:30 – 22.02.15.


We have learned how to create 5 enemy spaceship at once in the class. Try to modify the game we made in the class:

  • The program will keep creating new enemy spaceship.
  • the new enemy spaceship always shows on the top of the screen but random x position

You need create a variable as a counter. The purpose of the counter is keep counting down(or up) until certain number, then the program will create a new enemy and add that new enemy into the enemy group. Do not forget to reset the count after you create the new enemy.

No Comments

Sorry, the comment form is closed at this time.