Git Product home page Git Product logo

Comments (4)

vittorioromeo avatar vittorioromeo commented on September 23, 2024

I was thinking about this earlier today. Consider the fact that everyone can edit/create levels - how would the scores be validated?

An idea would be using the level files as 'validation keys' for the scores, but that would mean having to update the whole level file every time you upload a score, and ignoring the fact that scripts and events can be changed too.

Another solution would be to simply use the level name as a 'validation key', and hope the players will be fair and avoid messing with the scores, but that's very unlikely.

Or maybe have some default, hardcoded levels for scoring, which cannot be modified?

I would like to hear your thoughts :)

from ssvopenhexagon.

LowMo avatar LowMo commented on September 23, 2024

I think the best way would be to use the level name as a 'validation key' and don't let a player upload a level with an already used name. But this way you always have to compare the level files of the level when you make a new score, because you can edit the name of a level. ;)
I'm not very familar with programming, so I don't know how possible this is. If not, there is your third idea with the unmodified default, hardcoded levels. I like that too, but I prefer the first version.

from ssvopenhexagon.

Kyso avatar Kyso commented on September 23, 2024

Well, this is one of those situations where being an open source project is sort of a pain. The best way to do this would be to just make it a long and painful journey to manually send scores.

from ssvopenhexagon.

krofna avatar krofna commented on September 23, 2024

You cannot prevent cheating offline game. What you could do is make it harder: In order to get scores uploaded you need to play "online" game, i.e. create a server which will regulate the game.
But... we all know "Fallacies of Distributed Computing ( http://en.wikipedia.org/wiki/Fallacies_of_Distributed_Computing ) so I'm not sure how "doable" is this (lag)

from ssvopenhexagon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.