My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
LeaderBoard  
Description of the Leader Board System feature
Updated Feb 4, 2010 by akf.flo...@gmail.com

User Level Definition

The Leader Board displays the top ten rankings for each Study Buddy. Ranks are based on the scores that users achieve in each game or quiz. That is, the highest position on the Leader Board for a particular Study Buddy is given to the user who has achieved the highest score for that Buddy. However, the 10th position doesn't necessarily belong to the user with the lowest score - the Leader Board only keeps track of the ten highest scores. Therefore, earning a spot on the Leader Board is a great achievement, and users are awarded for doing so.

System Level Specifications

Function: Records the best scores for each Study Buddy

Description: Records the ten highest scores achieved by users for each Study Buddy. The Leader Board may differ between computers, as each machine has had previous users.

Inputs: Users' scores for each Study Buddy.

Outputs: An array representing the rankings on the Leader Board.

Action: Whenever a user finishes playing with a particular Study Buddy, his/her score is compared to that of the user who is currently holding the 10th position on the corresponding Leader Board. If the score the lower, then he/she will not be entered into the Leader Board. If it is higher, then comparisons will be made until a higher score is found. At this point, the current user will take the appropriate ranking, replacing the user who was previously holding it.

Pre-condition: The current user has at least one score that could be compared with those of other users on the Leader Board.

Powered by Google Project Hosting