You must to buy and sell shares. Shares increase your money. The inflation decreases your money. If you have 0 money, the game will be over.
More my mathematical projects: https://scratch.mit.edu/studios/1600626/