More "coding" help

Shouldn’t this work?
It does not work though, it often the “card” often repeats multiple times.
The popup repeats 1, 5 and 2 multiple times in a row when the odds of it should be miniscule.








Why don’t you do this:

set “card received” to - random integer from 1 to 5
broadcast message on channel - create text with - card - “card received” - chosen

2 Likes

Could be just rng , try running it more times

2 Likes

can u generate 50 random cards and record all the results, i just wanna see something

tell me how many 1s, 2s, 3s, 4s, and 5s you got (individually)

4 Likes

Definitely not, I got 1 at least ten in a row.
I forgot 8th grade math but I know that never is gonna happen/.

Can you explain why you need it because it might take a while, it will be 100% 1, 2 and 5.

chi-squared test

3 Likes

sure.
give me a second.

1 Like

100% card 1

You got card 1 every single time??

2 Likes

Yes.
that’s why I made this topic.
usually when I end and start a game, it jumps between 1, 2 and 5 before choosing one and doing it one of the three everytime.

sorry, I don’t follow.

its over

4 Likes

what?

The setup does seem very normal
Similar things happened in my end earlier, although not this ridiculous
Probably some sort of bug, or you won lottery 1 sextillion times in a row
808281277464764060643139600456536293376
I would think its the former, that there was a bug

1 Like

Dang. :frowning:
My game depends on it. Is there any alternative way to do it?

I really dont know, the only other way i know for randomness is teleporter groups, but it does not seem to fit here, and when see things similar to this, they are usually not this bad
Probably submit this as a bug report to gimkit, this is ridiculous

2 Likes

Thanks for your input.
I certainly will do so.

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.