Highscore server for mobile game

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
Thorium
Addict
Addict
Posts: 1271
Joined: Sat Aug 15, 2009 6:59 pm

Highscore server for mobile game

Post by Thorium »

Just got the highscore server for our mobile game QBric running and did a quick stress test.
It's made using PureBasic with PostgreSQL, FastCGI and JSON libs of PureBasic.

On the video you see a stress test application (also made with purebasic) submitting 10,000 highscores with 200 threads.
https://www.youtube.com/watch?v=o8VNbKytPcY
User avatar
RSBasic
Moderator
Moderator
Posts: 1218
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: Highscore server for mobile game

Post by RSBasic »

Interesting
Image
Image
Thorium
Addict
Addict
Posts: 1271
Joined: Sat Aug 15, 2009 6:59 pm

Re: Highscore server for mobile game

Post by Thorium »

RSBasic wrote:Interesting
Thx, i will make it available to the PureBasic community at one point but it still needs some more testing and some things are still hard coded because we wanted to get our new app update with online highscore out as quick as possible.
  • It has a automatic account creation based on device id, without registration by the user.
  • Automatic account creation and user identification can handle multiple profiles per device id.
  • Can handle different highscore leagues, for example a different league for every game mode.
  • Can run seasonal leagues, which will run for a set time and at the end trophies will be granted to the top 3 players and the season starts over.
  • Seasonal leagues can be segmented, grouping players with similar points together if a new season starts.
  • Does request verification using hash and salt.
  • Can store client granted achievements on the server. For example if you want to show achievements from one game in one of your other games (cross marketing).
  • Users can change their name. Highscore entries already in the list will retroactively change.
  • Can output errors to a Discord channel (or any other webhook) for notifications if something goes wrong or server had detected an attack.
  • Has a profanity filter for user names.
  • and more
It's currently used in our small puzzle game QBric.
dige
Addict
Addict
Posts: 1247
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

Re: Highscore server for mobile game

Post by dige »

Hi Thorium, its a nice game! What was it programmed with?
"Daddy, I'll run faster, then it is not so far..."
Thorium
Addict
Addict
Posts: 1271
Joined: Sat Aug 15, 2009 6:59 pm

Re: Highscore server for mobile game

Post by Thorium »

dige wrote:Hi Thorium, its a nice game! What was it programmed with?
With Unity.
Post Reply