Skip to main content

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>

Project details


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)

Uploaded Source

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

Hashes for energy-0.0.2.tar.gz
Algorithm Hash digest
SHA256 e5494b61550dc365033ade2fa2c7f8456b83613e79692c3fdb449a95d1660891
MD5 1fa1ad570e260b0d96c56eba1f210193
BLAKE2b-256 1bea68d980153746f6e71b69cd3946ee6da070f3a7dc63140893f7ec7a80629b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page