rodw / age

an Abstract Gamification Engine, implemented in JavaScript/CoffeeScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AGE implements an abstract gamification engine.

Clients must:

  1. define achievement rules which define conditions that players must meet in order to earn the corresponding achievement and,
  2. publish events that represent actions or events that add to a player's event history.

AGE is implemented in CoffeeScript but compiled to JavaScript prior to publishing. It should work in any Node.js environment.

(It may also work, or could be made to work, within a browser, but we haven't had the need for that nor the time to test it. If you are interested in this feature, please let us know.)

Examples

For a detailed example of how to use the AGE framework, visit docs/stack-exchange-example.litcoffee.

Installing

AGE is published as an npm module under the name age.

To install it you can run:

npm install -g age

(Omit the -g to install the package to the node_modules subdirectory of the current working directory rather than to the "global" npm package repository.)

Currently AGE has no external (runtime) dependencies.

About

an Abstract Gamification Engine, implemented in JavaScript/CoffeeScript

License:Other


Languages

Language:CoffeeScript 100.0%