$30k is about 30 man-weeks of wages for a cheap developer, or 10 man-weeks for a more experienced one.
That could be enough to make a very small game, as long as you keep it very simple amd run the project well...
Typical small mobile games are probably more like 80 man weeks of work, or "indie games" could be hundreds. Typical PC/console games would probably be at least 2000 on the cheap side.
If you yourself were a developer, you could probably use $30k to pay basic living expenses for quite a while - maybe a year in an expensive western city, much longer in cheaper areas. If you're highly experienced, then this is much better value than hiring someone else for just 2 months.
You could co-invest in a larger project. e.g. if a small indie team has already spent $150k but needs a bit more, then you'd bring them up to $180k and be able to buy 1/6th of the company.