skip to navigation
skip to content

energy 0.1.7

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.7.tar.gz (md5) Source 2013-11-05 7KB