I want to make a truth por dare game but without spinning a bottle. So you fill in the namen and when you press GO it chooses one name, 1) FIRST PROBLEM: When you play it with less than 10 ppl you have to leave some textboxes blank but when it generates a number it also generates if there is nothing filled in and then the result can be nothing. 2) SECOND PROBLEM When I go back all the names are gone. How can I keep the names? 3) HOW CAN I MAKE THE BUTTEN “RUN AGAIN” WORK.
Save them (the names) to a TinyDB as a List on a single tag or as individual tags.. Repopulate the TextBoxes by reading your TinyDB entries (tags) in your Screen1.Initialize event handler when you either switch screens or turn your app off.
Re initialize your global variables in your Button event handler. Set all the TextBoxes to an empty value perhaps
Here are some resources to help you learn to use the AI2 tools. A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook http://www.appinventor.org/book2 ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.
Try some code. If you have difficult, show what you tried and someone will be glad to provide specific advise. Work on a single issue at a time. Good luck.
Thank you a lot but i have another question, i turned it into a list and it shows up again but it show up with like parentheses and stuff and when it show up on screen 1 again the parentheses are still there how do i make this disappear ?