Page 1 of 1
Highscore server for mobile game
Posted: Fri Dec 01, 2017 1:07 am
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
Re: Highscore server for mobile game
Posted: Fri Dec 01, 2017 2:44 pm
by RSBasic
Interesting
Re: Highscore server for mobile game
Posted: Sun Jan 21, 2018 7:12 pm
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.
Re: Highscore server for mobile game
Posted: Mon Jan 22, 2018 9:19 am
by dige
Hi Thorium, its a nice game! What was it programmed with?
Re: Highscore server for mobile game
Posted: Tue Jan 23, 2018 1:13 pm
by Thorium
dige wrote:Hi Thorium, its a nice game! What was it programmed with?
With Unity.