Posts by Glauco Lustosa • 3 points
3 posts
-
0
votes0
answers37
viewsQ: How to access a varial that is within a function?
I’m trying to access my JSON via a variable that I put in Try and catch , but I can’t access it in other parts of the project, this makes things very difficult because all the project data is…
-
0
votes1
answer54
viewsQ: I want to draw a random number and compare it with an array index number
Hello, I’m trying to make a question bank using JSON, but the big challenge at the moment is to randomize my questions. I know more or less the logic but I can’t apply it, I would like to draw my…
-
-1
votes1
answer60
viewsQ: Problems in incrementing a score / counter
Hello, good evening ! I am trying to create a score for a game, where it contains two different types of scores 2 and 5 points. My biggest problem is that I can’t constantly update the score value…