PHP Classes

Gamify: Manage user points to implement site game logic

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (1 year ago) RSS 2.0 feedStarStarStar 52%Total: 780 This week: 3All time: 4,120 This week: 446Up
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
  Performance   Level  
Name: Arturs Sosins <contact>
Classes: 22 packages by
Country: Latvia Latvia
Age: 28
All time rank: 671 in Latvia Latvia
Week rank: 18 Up2 in Latvia Latvia Down
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:780All time:4,120
 This week:3This week:446Up
User Ratings User Comments (2)  
 All time