skip to navigation
skip to content

Not Logged In

energy 0.1.2

Energy system for social games

Package Documentation

Latest Version: 0.1.9

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.2.tar.gz (md5) Source 2012-10-12 4KB
  • Downloads (All Versions):
  • 37 downloads in the last day
  • 137 downloads in the last week
  • 713 downloads in the last month