Skip to main content

Base frame reward system

Project description

rewardify-base

Base frame reward system

Features

  • TODO

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.0.0 (2019-06-08)

  • First release on PyPI.

0.1.0 (2019-06-14)

  • Initial version

0.1.1 (2019-06-14)

  • Fixed bug in setup.py, which caused the “backends” package to be excluded

0.2.0 (2019-06-15)

  • Internal changes in the recycle method for rewards

  • Added a “user_exists” method to the facade, which will return, whether or not the given user name exists in the database or not

  • Added “effect” field to Reward class
    • An optional string item “effect” can ba added to the config of any reward. This string should contain special syntax, for what effect the reward usage should have on the rewardify system

    • Currently granting the user gold and dust are supported effects

  • Added more methods for handling rewards to the facade, which include buying, using and recycling rewards

0.2.1 (2019-06-16)

  • Fixed, that the facade method for buying a pack internally called the method for adding a pack, thus not actually spending gold on it

0.2.2 (2019-06-16)

  • Added “user.save()” calls to all the methods of the facade, that modify the models, so that the modifications actually get taken over into the database

0.2.3 (2019-06-16)

  • Extended the clean method for the Environment setup of the test cases to also remove sub folders

0.2.4 (2019-06-16)

  • Fixed a bug, which causes the “open_pack” method of the User model not to work properly

0.2.5 (2019-06-16)

  • Rethought the effect system: The “use” method of Reward now returns a list with functions, which contain the effects.

  • Fixed a bug, where the facade method for using a reward did not execute the effects of the reward properly

0.2.6 (2019-06-16)

  • Changed the install directory for linux from “~/.rewardify” to “/opt/.rewardify” as the previous one isnt working with python path handling.

0.2.10 (2019-06-16)

  • Added a method “init” to the EnvironmentConfig singleton, which will create the connection to the database

0.2.11 (2019-06-16)

  • Fixed, that the pointer to the last accounted action was not being saved within the ForestBackend

0.2.12 (2019-06-16)

  • Fixed the gold evaluation for the reward effects, it was accidentally set to constant value

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

rewardify-0.2.12.tar.gz (54.3 kB view hashes)

Uploaded Source

Built Distribution

rewardify-0.2.12-py2.py3-none-any.whl (41.7 kB view hashes)

Uploaded Python 2 Python 3

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