Online gold exchange rate

I have a variable (gold) that randomly changes between 800 and 1200 every 30 seconds. How can I do this so that everyone has the same value at the same time and changes every 30 seconds?

Use cloudDB, or Firebase, and the DataChanged event

who will change the data of gold?

You can use this if you are going to manually change the data every 30 seconds.

If you want it to happen automatically, you can use the Web component to fetch data from an external third party API at an interval of 30 seconds.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.