UniversityofAlaskaAnchorageCS / RotationFrenzy

Educational Physics Game
MIT License
2 stars 0 forks source link

Add the "3 stars" value to levels in ChapterSelectScreen #36

Open kaltinril opened 6 years ago

kaltinril commented 6 years ago

Once saving best attempt and progress is added, enhance the ChapterSelectScreen so that 3 stars can be earned. 1 for each "life" (Attempt) left.

Example:

  1. If the player completes the level on the first try, they get 3 stars.
  2. If they player completes the level on the 2nd try, they get 2 stars.
  3. If they player completes the level on the 3rd try, they get 1 star.
  4. If they fail it, no stars obviously :)

This would be in the buildPanel() method in the ChapterSelectScreen class.