/marsGameServices

A backend server for games built using MARS-Curiosity REST Library

Primary LanguagePascalMozilla Public License 2.0MPL-2.0

marsGameServices

I wrote this REST server as a backend for RGBquick:
https://play.google.com/store/apps/details?id=com.inmatrix.RGBquick

The server recieves player scores (in JSON format) and returns a JSON result with the player's position in a global leaderboard.

The server also provides an access point that returns the entire leaderboard as pure-text flat-database format (same format used when saving the database locally).

The submitted data is verified to be legitimate using a simple salted hash and by checking the client's user-agent.

The REST processing code resides in 'Server.Resources.pas'.