def check_collisions(self):
for s in sprite.groupcollide(self.shipLasers, self.blockers, True, True).keys():
self.sounds['blockbreak'].play()
if self.life3.alive():
self.life3.kill()
self.create_new_ship()
elif self.life2.alive():
self.life2.kill()
self.create_new_ship()
elif self.life1.alive():
self.life1.kill()
self.create_game_over()
for s in sprite.groupcollide(self.enemyLasers, self.blockers, True, True).keys():
self.sounds['enemykilled'].play()