Swift Playground Text display, take input

I am helping my son learn to programme and develop a small game for his school project. He is using the swift playground app on ipad and not using the xcode on Mac. Three questions,


1. Can you point me to how to take a text input from the user and a button to initiate an action?

2. Also, can we simulate totally different scenes like entering from one world/platform to another world that is totally new?

3. Overall, is there a documentation or list of all commands that we can use/invoke directly from the Swift Playground app without going to xcode.


thanks!