PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2004-03-15 (12 years ago) RSS 2.0 feedStarStarStar 46%Total: 1,371 This week: 1All time: 2,739 This week: 1,047Up
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 United Kingdom
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,371
This week:1
All time:2,739
This week:1,047Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:58%StarStarStar
Documentation:-
Examples:33%StarStar
Tests:-
Videos:-
Overall:46%StarStarStar
Rank:2321