I’m trying to check how long it’s been since a user visited my app. This will deduct some points in the app and then a face ( 0r etc) will be shown in a label that shows the apps emotion.
basically the longer the user has been away the sadder the face will look. Anyways my problem is that I don’t know if I’m calling the function correctly each time a day passes.
basically the check variable check variable changes when the user interacts with something in the app, the last day visited is changed to the current day of the month.
The user can also increase the points of the app when they click a button (+10 points)
right now my app looks like this:
I don’t think its working and I’m not sure why.
here’s a link to the app: