dwmkerr / spaceinvaders

Classic Space Invaders game written in JavaScript as a learning exercise.
https://dwmkerr.github.io/spaceinvaders
MIT License
201 stars 140 forks source link

game not over when aliens hit bottom #26

Closed ozomer closed 5 years ago

ozomer commented 5 years ago

https://github.com/dwmkerr/spaceinvaders/blob/master/js/spaceinvaders.js#L469

line should be game.lives = 0 not this.lives = 0

dwmkerr commented 5 years ago

Fixed, thanks for this!