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>
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
energy-0.0.1.tar.gz
(2.7 kB
view hashes)