Slick Forums

Slick's games highscore
Page 1 of 1

Author:  Gornova81 [ Thu Jan 15, 2009 10:55 am ]
Post subject:  Slick's games highscore


I have a little idea about a global highscore for every game made with slick.
This is my idea:

- every project have an unique code generated by an online services (php+mysql)

-there is a php+mysql server online that expose some services to add, retrieve, etc.. highscores about a certain code

So.. a new game need web/score?

1) get unique code from a service (a "sequence" new value on a id, for example)

2) use service of adding/deleting/clear/list of global score

what do you think?

Author:  Gornova81 [ Mon Jan 26, 2009 4:20 pm ]
Post subject: 

no one want to add a comment?

Author:  manunderground [ Mon Jan 26, 2009 7:23 pm ]
Post subject: 

I have considered making a service like this in the past, not strictly for Slick but a more general service. Here are some problems that come to mind:

* How do you prevent people from entering fake scores?
* How do you decide what data can be tracked?
* What if I want to track 6 different fields, or 10, or 100?
* How do you ensure that one game doesn't accidentally write a score to a second?
* What is the value added for the game developer?
* What is the value added over other possible competitors?
* How does a game developer interact with the application? Is there a web interface?
* What policy is in place for the data? What if your servers go down? DB gets corrupted? You get tired of supporting the service?

Overall I think it's a neat idea and fairly straightforward. That said once you start talking about a web interface to manage your account, etc, then things get messy.

Also, some of the questions surrounding the maintenance and lifetime of the product are problematic. My immediate reaction is that the project may be better served if it starts off as an open source library in which different parties can pool their collective talent/knowledge. That way people would still get the benefit of reusing best ideas/practices but no one person would be responsible for owning and maintaining all of the data/service.

You could consider looking to something like github for an example company which takes an open source project and provides a service on top of it. The service gains additional value as more people sign up to use it, i.e. a network effect. I think the biggest challenge for doing something similar with this idea is to determine how to make the experience become better as more users sign on.

Author:  Mar3k [ Fri Aug 28, 2009 5:25 pm ]
Post subject: 


Hello, not sure where to put this but I found this post and it makes most sense to put it here I suppose.

Marks Free Highscore System

I have written a web interface and small library that interacts with my web server.

The service allows you to store highscores for games. It will also allow you to pull rank data out of the board as well. Example, you can get the top 100 ranks. You can also get "pages" of ranks. I.e. you specify how many ranks per page you want and what page you want and it will return the specified data. You can download the library and example code from the website (

What can it do for you?
At the moment it allows you to store highscores onto a server that is available 99.999% of the time. It cuts out on the need for you to have a server.

It also provides a very easy interface to get the score data into your game, rendering of the data is still up to you.

It not only stores the score! Along with the score, there are 5 extra text fields (max length 255 each) for you to store what ever you want! This could be player names, player country, level reached and other stats. It also gives you a unix timestamp of when the data was stored into the database.

When you insert a new score, it will return the rank of the score that had just been uploaded.

Using the service:
Register at the website. Once registered, login and create a new board. When the new board is created, you will be given an API key for that board. You can have as many boards per account that you want.

Using the library:
Example code is on the website, it is quite self explanatory. All you need to do is insert your API key into the code so the server knows where to store your highscores.

It will only return a maximum of 100 ranks at a time, this is to cut down on server cpu time. This may be increased in the future.

Also note that this is hosted on my personal server and if it proves popular enough, I will have to find an alternative hosting solution and so the library will need to be updated with a new URL.

Why have I made this?
I made this as I needed a highscore system for a game I am making at the moment and when I searched these very forums, I found this post and was up to the challenge! So here I am a few days later.

Please give me feedback on anything please! If you want another method added into the library or or features etc, let me know. If there are bugs, they would be gratefully welcomed. Please email me at

Thank you :D

Author:  NateS [ Fri Aug 28, 2009 7:23 pm ]
Post subject: 

Neat. I think Google App Engine is a perfect candidate for hosting a high score system.

Author:  Mar3k [ Sat Aug 29, 2009 5:13 pm ]
Post subject: 

NateS wrote:
Neat. I think Google App Engine is a perfect candidate for hosting a high score system.

You are probably correct but I had a look and it confused me, a bit more figuring how it works and I might give it a shot.

But this little score system was just something that should suit most small games. Easy access without a lot of effort.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group