aaaaaaaaaah wow!!! your only 13!!!!! your almost as good a canthier, er however you spell it. im only 11, going into 6th, but if i were 13 right now, youd still be better then me, your stuff are like stuff some adults make!
I'm American (well actually, Indian by ethnicity).
I suck at explaining things, so I'll try to explain better here.
Let's call the last three numbers in the code a, b, and c. Let's call the first two numbers x.
Basically, what this does is, pick random numbers for a , b, and c. Then it finds out what (a+b)*c is to make x. It can use that to make the passcode.
Quite a few people say I'm quite bright (almost 12) for my age but...GGGGGGGGGEEEEEEEEEZZZZZZZZZZZZZZZ....I have no idea what your going on about in the scratch notes things...
??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
But the code is actually fairly simple (for one of my projects =P), I just had to copy it a lot over 5 sprites. Really, it's 4 scripts, plus 9 scripts copy-pasted and changed a little for 5 sprites.
This program generates a random passcode using an algorithm (described below). You can test if a passcode is valid by using the number input. To use the number input, click on a number box, then press the up or down keys until it says the number you want. After you have the number input ready with the passcode you want, click the Test Passcode button to test if the passcode is valid.
Here is the algorithm. We will refer to the third, fourth, and fifth numbers as a, b, and c, and the first two numbers as x (they are really read as one single number).
x = (a*b) + c
Basically, the testing algorithm finds out x, a, b, and c from the passcode, and tests if the algorithm is true. If it is, it's valid; if not, it's invalid.
Comments
You need to be logged in to post comments
Add a Comment
hi
(view all replies)Comment Reply
63877
(view all replies)Comment Reply
34842
(view all replies)Comment Reply
aflac269: test it or something =P
(view all replies)Comment Reply
cool. It must have been hard to use the algorythm
(view all replies)Comment Reply
so its valid what happens now
(view all replies)Comment Reply
Thnks for explaning it but I think I'll stick to English music art-lets just say anything other than maths
(view all replies)Comment Reply
(link to project) has some stuff that could pass for passcodes
(view all replies)Comment Reply
aaaaaaaaaah wow!!! your only 13!!!!! your almost as good a canthier, er however you spell it. im only 11, going into 6th, but if i were 13 right now, youd still be better then me, your stuff are like stuff some adults make!
(view all replies)Comment Reply
born that way, lol
(view all replies)Comment Reply
.........how r u this smart?
(view all replies)Comment Reply
And for checking, it sees if (a+b)*c is x; if it isn't, it's not valid, if it is, it's valid.
(view all replies)Comment Reply
I'm American (well actually, Indian by ethnicity). I suck at explaining things, so I'll try to explain better here. Let's call the last three numbers in the code a, b, and c. Let's call the first two numbers x. Basically, what this does is, pick random numbers for a , b, and c. Then it finds out what (a+b)*c is to make x. It can use that to make the passcode.
(view all replies)Comment Reply
Quite a few people say I'm quite bright (almost 12) for my age but...GGGGGGGGGEEEEEEEEEZZZZZZZZZZZZZZZ....I have no idea what your going on about in the scratch notes things... ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
(view all replies)Comment Reply
BLOODY HELL! Wait are you Amrican then ?
(view all replies)Comment Reply
How r u 13? I'm 13 and ur projects r way better than all of mine. Ur prjects probably beat some of the adult Scratch memebers.
(view all replies)Comment Reply
what? I just said I'm 13. unless you don't mean age or something.
(view all replies)Comment Reply
Are you 10.
(view all replies)Comment Reply
liol: It makes a different random code each time.
(view all replies)Comment Reply
rofl no, I'm 13 =p
(view all replies)Comment Reply
Are you a math teacher or something??
(view all replies)Comment Reply
34842 is the code i think
(view all replies)Comment Reply
Incredible. I also love the way the numbers are highlighted when you click on them.
(view all replies)Comment Reply
But the code is actually fairly simple (for one of my projects =P), I just had to copy it a lot over 5 sprites. Really, it's 4 scripts, plus 9 scripts copy-pasted and changed a little for 5 sprites.
(view all replies)Comment Reply
Dragon_MC: According to some tests I took in like 3rd grade, I could be...but barely
(view all replies)Comment Reply
ahh math!!!
(view all replies)Comment Reply
Cool! How come I can't be as smart as you, S65?? ...Hey, wait! Are you in Mensa?
(view all replies)Comment Reply