Quantcast
Channel: Server-side highscores for a Javascript-written game - Stack Overflow
Browsing all 8 articles
Browse latest View live

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 Article



Answer 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 Article

Answer 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 Article

Answer 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 Article

Answer 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 Article


Answer 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 Article

Answer 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 Article

Server-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

Browsing all 8 articles
Browse latest View live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>