Answer by ElDoRado1239 for Server-side highscores for a Javascript-written game
I am thinking about this myself. What seems to be the most reasonable solution to me is this:1) Sessions, to disallow tampering with the scoretable outside the game.2) Log every action in the game and...
View ArticleAnswer by Insomniak for Server-side highscores for a Javascript-written game
The better I think, is to make the calculation of the score directly into the python files of your django app. Instead of calculate it in the javascript file. You send the datas to compare with your...
View ArticleAnswer by Glav for Server-side highscores for a Javascript-written game
You could use a combination of one of the methods above, as well as simply requiring the user to be registered to be able to post high scores. Non registered users could view their current score...
View ArticleAnswer by Kornel for Server-side highscores for a Javascript-written game
To submit score securely, sign it (you'd also need to ensure that the score isn't faked before it's signed and sent, but that's another problem).Hide a secret in JS code, and send...
View ArticleAnswer by ento for Server-side highscores for a Javascript-written game
1.) Any CGI script that can talk to a database and understand JSON, or other format of your choice, will do the work.However, if you're familiar with Django, building your server on top of Django would...
View ArticleAnswer by Jordan Reiter for Server-side highscores for a Javascript-written game
It's going to be pretty hard to secure the high scores. I mean, it's not enough to ensure that it comes from your page, because if, say, the JavaScript function is submitHighScore(n) then they can...
View ArticleAnswer by Todd Moses for Server-side highscores for a Javascript-written game
In answer to your question:1.) This depends on your environment and coding preference. PHP, Python, ASP.NET are a few that come to mind. Sense you already know Python (from your profile) you can use a...
View ArticleServer-side highscores for a Javascript-written game
I'm implementing a simple game in Javascript, and am interested in having an online highscores table for it, so that players can compete against one another. I've two concerns about this:What is the...
View Article
More Pages to Explore .....