Scoreboard: Managing game score information in a database

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 46%Total: 1,396 All time: 2,777 This week: 268Up
Version License Categories
scoreboard 1.0.0GNU General Publi...Databases, Games
Description Author

This class is meant to manage the information of scores of games played by individual users. The information is stored in SQL based database.

The class provides a function to submit a score given the game name, the player user, and score as an integer value. It also has functions to retrieve the high scores table, as well individual user scores and rankings for this week and the previous week.

Innovation Award
PHP Programming Innovation award nominee
March 2004
Number 8
Developers that have produced Web sites that maintain games often have the need to keep track of game records like high score tables that register the user and the score that was achieved in a given moment.

This class provides a generic solution to maintain high score tables that can be used by almost any type of game that is based on scores achieved by individual players.

Manuel Lemos
Picture of Duncan Gough
Name: Duncan Gough <contact>
Classes: 2 packages by
Country: United Kingdom
Age: 45
All time rank: 1338 in United Kingdom
Week rank: 476 Down18 in United Kingdom Down
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Accessible without login Plain text file Examples.php Example Scoreboard examples
Plain text file Scoreboard.php Class The main Scoreboard class
Plain text file SQL.php Class A Database wrapper
Plain text file SQL_Dictionary.php Class SQL dictionary for use with the database wrapper

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,396
This week:0
All time:2,777
This week:268Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:58%StarStarStar
Documentation:-
Examples:33%StarStar
Tests:-
Videos:-
Overall:46%StarStarStar
Rank:2619
  

For more information send a message to info at phpclasses dot org.