Discuss Scratch

Rip_XraTh
Scratcher
5 posts

how to make a true winners list?

i want to make a list for people who won on my game but how do i make it so that people who cheated do not get on the list?
BigNate469
Scratcher
500+ posts

how to make a true winners list?

It's hard to do so- it depends on your game. People who are determined almost certainly will get on that list, if they do it by cheating so be it, you can't program against every edge case. When people hit “see inside”, they can't actually affect the rest of the project and it's cloud variables from there- it's sandboxed (which means that an identical copy was made that can't interact with the original). Also, as I hinted at above, you are going to need a cloud variable if you want the list to work at all, and cloud variables are limited to 256 characters per variable, with a maximum of 10 cloud variables per project, so you might only want to store the most recent winners. In addition, cloud variables only support numbers, not other characters. Sorry if you knew all of that already, but it brings me to my next point: even if you have all of that down, it doesn't prevent people from interacting with the Scratch API and doing whatever they want with your cloud variables. In your project you can try to prevent cheating by placing limits on the player, and making sure that it isn't too easy to finish in turbo mode. Past that, I can't help you further without you describing your project further.

Highlight any part of this signature and press ctrl+shift+down arrow to see the rest of it
forever
if <person asks [what's a signature] :: sensing> then
Redirect to [https://en.scratch-wiki.info/wiki/Signature] :: motion
end
end
Please read the list of Officially Rejected Suggestions before posting a suggestion for Scratch! 100th post
This signature is designed to be as helpful as possible.
View all of the topics you've posted in:
https://scratch.mit.edu/discuss/search/?action=show_user&show_as=topics
View all of your posts:
https://scratch.mit.edu/discuss/search/?action=show_user&show_as=posts
Forum tips:
Don't title topics something like “HELP ME!!!”. It's not helpful, and won't get you as many responses.
Don't post in topics where the latest post is over ~2 months old, unless you have something critical to add. Especially in topics that are several years old- it isn't helpful, and is known as necroposting.
Don't post unrelated things in topics, including questions of your own. Make a new topic for your questions.
You can use the
 [code] and [/code] 
tags to show other users how to format something that Scratch would otherwise format.
You can use the
 [color=color name or hexadecimal value here] and [/color] 
tags to color text.
Little-known Scratch URLs:
scratch.pizza (redirects to main page)
https://scratch.mit.edu/projects/PROJECT ID HERE/remixtree (replace “PROJECT ID HERE” with project id number. Shows all the remixes of the project, and the remixes of those projects, and the remixes of those projects, and so on, as a chart. Link currently redirects to one of my projects)

Powered by DjangoBB