--spelling race--- a simple game where you hear the words and type them before the timer ends. when the timer ends, the game shows the typing speed and if they got it right or wrong. ----------------------- i can't show the peoples answers bc of misuse of game or, chat
here is how i made this game. i uploaded the project, then started out with the words. i added the 30 words into this project. and then was the cloud variables. there are 2 could variables. the first one is the word+timer(the server), and the second one is the data(username,typing time,and if the player got it correct) we can encode multiple values into one cloud variable using griffpatchs tutorial. if we add the length of a number before the number, we can use the length to decode multiple values into one. i started with the server. but since there has to be a specific player setting up the cloud variable, we check if the server is equal to 0. if it is zero, then we have that player set the server cloud variable. if it isn't, the player reads the values inside it. but there is one problem. the player that uses the server variables can leave. so, we detect if it changes. if the server doesn't change in a specific amount of time, we check if it has wifi(translator comes in handy). if the wifi works, then we restart by setting it to 0. then was the pronounce the words. when the word changes, thats when it pronounces the word. if the timer gets set to 10, then we make the player type the word since the player is prepared. then was the data. how do we get the players username into a bunch of numbers that we can decode? thats where we have a list of letters and symbols into a list. first we can encode the length of the username then for each letter, we can encode the item number of(letter) in Alphabet list. then we encode the rest. how long it took the player to type. did the player get it right?. finally we decode these values.