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.2.tar.gz
(2.9 kB
view details)
File details
Details for the file energy-0.0.2.tar.gz
.
File metadata
- Download URL: energy-0.0.2.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5494b61550dc365033ade2fa2c7f8456b83613e79692c3fdb449a95d1660891 |
|
MD5 | 1fa1ad570e260b0d96c56eba1f210193 |
|
BLAKE2b-256 | 1bea68d980153746f6e71b69cd3946ee6da070f3a7dc63140893f7ec7a80629b |