Game Development Reference
In-Depth Information
4.4 Leaderboard
The Leaderboard in the game looks like this (figure 4.3):
Figure 4.3 Leaderboard
To implement it, you first need a page on your website to handle user's score submissions.
No matter what development language you may use for your website, this page should take
2 arguments: userId and score. Secondly, you need a table in database to keep user's inform-
ation. The table can be designed as below (table 4.1).
Field
Type
Null
Default
UserId
int
No
NULL
IconId
tinyint
Yes
1
Search WWH ::




Custom Search