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 details)
File details
Details for the file energy-0.0.1.tar.gz
.
File metadata
- Download URL: energy-0.0.1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4de2f5f4f6fb44e926cfb391bedfa49ce00d9af41d98816956d92d9b2f6d8ae4 |
|
MD5 | 46cfae81c568301f14eb509993021f3d |
|
BLAKE2b-256 | 117f84a98aebc706ba2a79b53a90ee4daf3c2f91961798b39919940a75fc76ea |