GSgiansen / OrbitalSelf-

Repo for orbital Self++
3 stars 0 forks source link

Tasksystem #129

Closed bkjwjason closed 1 year ago

bkjwjason commented 1 year ago

Implemented the following changes:

1) Task is Randomly Chosen and stored on Firebase 2) When task is completed, user can press complete button to get coins depending on task: 150 coins for sleep bar and 100 coins for rest

TODO:

Date should be stored on firebase also, and if date is different compared to stored date, refresh task and update date. Same goes for other health pages. If date is different compared to stored date, set fields to 0 (for water and pomodoro timer)

See #117 and #130

GSgiansen commented 1 year ago

LGTM! nice work on the task system!