I mean play atleast once in a day for atleast 5 consecutive days.
I.e: jun 29, jun 30, jul 1, jul 2 and jul 3. (this should the worst scenario because have some days of the last month and some days of the new one)
so if i have a variable called consecutivedays.
the game should do something like this.
compare last day variable with today variable.
If: today (month and day) = saved (month and day) do nothing.
if saved day diferent than today and today is 1:
if month is Jul and saved is jun: add 1 to consecutivedays variable (need to do it for the whole 12 months u_U)
else consecutivedays = 1 (reset)
if saved month = today month and today is 1 greater than saved day: add 1 to consecutivedays variable.