This is a very basic HighScore tracker that stores the info on the DB for some fun competitive high score tracking.
This can easily be faked but I trust the majority of us codea users are honest. Server side is written in lua (excuse to play with it). This is on a personal server so I cannot guarantee the uptime.
To use it:
--ScoreTracker(project,success callback, fail callback)
--s.results holds the returned results in a table. I'd recommend calling it in the success function.
s = ScoreTracker("Unique project name",Success callback, fail callback)
--This will create a new entry
s:submit("test user","thier score","extra data 1","extra data 2", "extra data 3")
--This returns the top scores
s:request()