PHP Classes
elePHPant
Icontem

Gamify: Manage user points to implement site game logic

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-11-09 (5 months ago) RSS 2.0 feedStarStarStar 59%Total: 729 This week: 2All time: 4,229 This week: 815Up
Version License PHP version Categories  
gamify 1.1BSD License5.0PHP 5, Databases, Games
Description Author  

This class can manage user experience points and achievements to implement site game logic.

It can create database tables that can record the values of experience points earned by site users the accomplish certain achievements.

The class can manage the records of site users participating in the site gaming activities, the user achievements, the levels and experience that they earn, obtain user statistics and top users listings.

Innovation Award  
PHP Programming Innovation award nominee
August 2011
Number 3


Prize: One book of choice by Packt
Turning the activity of the users of a site into a game is a way to raise the interest of that site to many users.

This class provides a solution to make it easier to gamify a site by accounting the points earned by each user of the site, awarding badges to the users and compute user rankings.

Manuel Lemos
Picture of Arturs Sosins
Name: Arturs Sosins <contact>
Classes: 22 packages by
Country: Latvia Latvia
Age: 27
All time rank: 761 in Latvia Latvia
Week rank: 25 Up1 in Latvia Latvia Equal
Innovation award
Innovation award
Nominee: 13x

Winner: 2x

  Files folder image Files  
File Role Description
Plain text file gamify.php Class Main class
Accessible without login Plain text file start.php Example generate needed tables, create some users, levels, achievements example
Accessible without login Plain text file admin.php Example simple game administration example
Accessible without login Plain text file actions.php Example allow users to gain epxerience and achievements example
Accessible without login Plain text file top.php Example generate statistics and tops example

 Version Control Unique User Downloads Download Rankings  
 0%Total:729All time:4,229
 This week:2This week:815Up
User Ratings User Comments (2)  
 All time
Utility:91%StarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:-
Examples:50%StarStarStar
Tests:-
Videos:-
Overall:59%StarStarStar
Rank:939