I am going to be creating some kind of chatbot game where you can use money to buy factories that generate you more money over time. What I'm wondering is whether I should add the generated money to their balance regularly (for example, every 1 minute) or if I should use dates to calculate how much money their factories have earned and update their balance ONLY when the data is needed, such as when they check their balance or when they attempt to purchase something.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…