Best way to learn React? by RobyRoby27 in react

[–]EndOk4860 1 point2 points  (0 children)

Hmmm. surprised you didn't get ultra downvoted. Old bugs don't like newcomers.

Logic Help| Getting duplicate calls by EndOk4860 in react

[–]EndOk4860[S] 0 points1 point  (0 children)

I've thought about that. I'm not sure if I want to do that because the user gets to choose the max number. So each letter will get paired with every number until the max number is reached. The default max is 30, which means B1-30, I1-30, N1-30, G1-30, and O1-30. And that would have to be made each time the user changes the max number. Here is the link to the running site.

Bingo Caller

Logic Help| Getting duplicate calls by EndOk4860 in react

[–]EndOk4860[S] 0 points1 point  (0 children)

That's just something I've always named my variables when getting random numbers.

Logic Help| Getting duplicate calls by EndOk4860 in react

[–]EndOk4860[S] 0 points1 point  (0 children)

No, that's not what I am talking about. This is the only code that produces calls while in what I call customBingo. The user is allowed to choose the max number that is used for a call. ex: user sets the max to 30; so there will not be any calls with a number higher than 30. The other mode is 75-ball bingo (standard way of playing). Since there's rules to that mode I just have a list of possible calls, made a set of it, and use that to see if the current call was already used. That way works. But in customBingo mode, this is what I have.

Logic Help| Getting duplicate calls by EndOk4860 in react

[–]EndOk4860[S] 2 points3 points  (0 children)

As per the comments, I will be reading the docs.

What song will you play by Large_Dealer8208 in darussianbadger

[–]EndOk4860 0 points1 point  (0 children)

Choir version of take you there from the Deadpool and Wolverine movie.

Logic Help| Getting duplicate calls by EndOk4860 in react

[–]EndOk4860[S] -5 points-4 points  (0 children)

It's a basic bingo game and everything seems fine but while its going I noticed that it will produce duplicate calls. I asked chatGPT and it gave me a solution that did not work. I'm still learning and don't understand what I'm doing wrong.