santosderek / Vitality

A workout companion app focused on managing user fitness and trainer information.
https://vitality.santosderek.com/
MIT License
1 stars 1 forks source link

Gain experience points by workout #209

Closed el1918 closed 3 years ago

el1918 commented 3 years ago

Created schema of default workouts which are now shown above the search bar on the workout search, predefined workouts also have experience points shown based on difficulty. Lastly, added functionality for workout exp to be given to the user upon completion. Workouts now have a property called is_completed. If the user presses on "complete", the workout is marked as complete and the exp is calculated accordingly. NOTE: Possible issues with multiple workouts of the same exp that are added. Suggestions are welcome. Closes #192

santosderek commented 3 years ago

Please view #210 first.