Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Give a player three lives #27

Open
1 of 4 tasks
michielpapenhove opened this issue Nov 13, 2020 · 0 comments
Open
1 of 4 tasks

Give a player three lives #27

michielpapenhove opened this issue Nov 13, 2020 · 0 comments
Projects

Comments

@michielpapenhove
Copy link
Collaborator

michielpapenhove commented Nov 13, 2020

A player should have three 3 lives when the game starts. If they are hit by an alien bullet or hit by an alien, the amount should decrease by 1. If the amount reaches 0, the game is over.

This might be a splittable story:

  • Add a property on the player for the livesLeft
  • Reduce the number of lives when hit by an alien bullet (requires Have aliens fire bullets too #28)
  • Add an overlay/HUD that contains the number of lives so it's visible for the player
  • End the game when the lives reach 0
@ramondelafuente ramondelafuente added this to Todo in Moonshot! Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant