You could try using a firebase cloud function with a setTimeout of a day then the function call itself again. don't exactly know how to call the cloud function from construct tho.
Develop games in your browser. Powerful, performant & highly capable.