skip to navigation
skip to content

Not Logged In

energy 0.1.7

Energy system for social games

Package Documentation

Energy is a consumable and recoverable stuff in social games. It limits how far players can advance in each session.

Players use energy to do actions like farming, housing, or social actions. Then consumed energy will be recovered after few minutes. Recovery is the essence of energy system. It will make players to come back to the game periodically.

In popular social games such as FarmVille or Zoo Invasion or The Sims Social, this system drives high retention rate.

>>> energy = Energy(10, recovery_interval=300)
>>> print energy
<Energy 10/10>
>>> energy.use()
>>> print energy
<Energy 9/10 recover in 05:00>
 
File Type Py Version Uploaded on Size
energy-0.1.7.tar.gz (md5) Source 2013-11-05 7KB
  • Downloads (All Versions):
  • 35 downloads in the last day
  • 122 downloads in the last week
  • 764 downloads in the last month