MrBadger - Achievement tracking for Elixir

A tiny module that defines a DSL for user “badges” that was basically just an experiment in metaprogramming, but might be useful if you want to add some rudimentary gamification elements to an app. Very minimal for now – it doesn’t make any assumptions about how it will be used or include any functionality beyond the badge definition and checking itself. Notably it doesn’t support any ‘metadata’ about the badges, nor does it handle persistence of any kind.

Feedback/suggestions highly welcome. Cheers.

4 Likes