current position:Home>Alien project spacecraft collision error

Alien project spacecraft collision error

2022-02-02 14:04:54 CSDN Q & A

《python Programming : From introduction to practice 》 The first 13.6.2 In response to the collision between aliens and spacecraft , Write a new class ,game_stats.py,

img


Then, according to the operation, there was an error when the spacecraft was collided by aliens , There are no new aliens after the game is suspended , It's a direct error

img

I've checked it several times , There's nothing wrong with the code , I don't know where the problem is , I hope you can give me some guidance to solve this problem , I've been sleepy for nearly half a month

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.primo.wiki/2022/02/202202021404513789.html

Random recommended