Hello everyone, i am looking for a semi- advanced tutorial that was called pick a winner I think, it consisted of a crowd texting a number tied to the app then you press Pick a winer button and it randomly picks a number from the incoming texts to dial as the winner, please share link or apk file if someone has access
Never heard of it.
But that sounds like something you could build yourself.
Here are the parts you would need:
-
The Messaging component, and a knowledge of how its three modes work.
-
A phone dedicated to running the game, with a generous call and text quota
-
A way to have clients sign up, giving their phone number to the game runner phone. Make it a mode of the app, tagging messages to signify signup?
-
TinyDB, to collect client phone numbers
-
The Clock component, to help synchronize rounds
-
A message format to notify the clients when the next round begins
-
A message format to announce the winner, either to the winner or to the losers.
-
A way to track who won, how many times?
-
A time limit for accumulation of incoming messages, before picking a random number from the messages that arrived between start of round and the time limit.
both you guys are correct to an extent I think I blended 2 tutorials this was back in 2016 its been a while and now I'm trying to get back so I can use app inventor in a children's program in Zimbabwe africa, ABG your method looks more updated I think I would want to update to that..i just need a strong practice run so it all comes back to me. Let me share the blocks
You have a strong start there.
It would be good practice to rename Button1 and Button2 in the Designer, to make their purpose clear in the Blocks Editor.
You have a tradeoff between adding function to the app to make it more practical, vs fitting it all in to a classroom exercise for the time allotted.
You have enough there to test in a classroom environment, where every one can use their phones together and hear cues from the person running the app.