It doesn’t happen too often, but this time I only got positive forum reactions on the latest change in SoccerProject. Quite a relief acutally 😉
My aim for this particular feature was not only to prevent new managers from spending all their money at once, I also wanted to make life a little harder for cheaters and even slow down the injection of money in the economy by short-life managers. It actually took me a while to find a good and simple solution, but I think this must be the simplest option available. I don’t mean programmatically of course, it’s much more important be easy to understand for a (new) manager.
I always try to stay away from complexity, most of the time simple solutions are simply the best. At first I wanted to gradually increase the budget of starting managers. By means of pre-announced money injections, they would see their budget slowly grow. I wasn’t sure however of how many messages and injections would be ideal in this case. We surely don’t want to overload a new manager with all kinds of info.
Then I figured we could simply create an expenditure limit on transfers, depending on the time a manager has been a member of SoccerProject. I started out by creating some (complex) formulas on how to calculate the weekly raise for the limit. Luckily I then noticed, it would be much simpler to simply use the number of seconds a manager has been on SoccerProject. That meant a very easy check in the code, and a very easy-to-understand solution. That is also the reason the limit will grow by EUR 604 800 each week, there are 604800 seconds in a week.
There is also a nice (imho) little side-effect. Each time a manager tries to make a transfer that limit will have grown. In other words it’s a live-limit and managers will be able to follow the growth. I hope some managers wll like that about it. If not, you can safely ignore this closing paragraph 😛