Energy system for social games
Project description
Energy system for social games such as FarmVille or The Sims Social.
>>> energy = Energy(10, recovery_interval=10) >>> energy <Energy 10/10> >>> energy.use() 9 >>> energy <Energy 9/10 recover in 00:09>