• tactfulgamer

    I haven’t been here in a long while, just checking and finding out Pythonista3 is pretty much done.

    Question 1:
    The new app Pyto - Can we develop games on it like we were able to on Pythonista3?

    Can we run these games we code graphically for testing/prototyping etc.

    Question 2:
    Is there a section in this forum dedicated to game coding hobbyists or devs for the new app pyto.

    Thanks.

    posted in General Discussion read more
  • tactfulgamer

    @JonB Soo much better. Thank you!

    posted in Pythonista read more
  • tactfulgamer

    @cvp said:

    Remark that you should insert your code between two lines of triple quotes, in this forum

    Can you please show me what I did wrong?
    I tried adding two lines, of triple quotes... and it’s not working.

    I did this:

    ‘’’
    code
    ‘’’

    ^^ Not working for me

    posted in Pythonista read more
  • tactfulgamer

    @cvp said:

    import random
    import time

    def displayIntro():
    print("It is the end of a long year of fighting space criminals")
    print("you come to a crossroads on your trip home, one path leads home")
    print("where you will be handsomly rewarded for a job well done")
    print("and the other leads through a gamma ray burst")

    def choosePath():
    path = ""
    while path != "1" and path !="2": #input validation
    path = input("Which path will you choose? (1 or 2): ")
    return path

    displayIntro()
    p = choosePath()
    print(p)

    Thank you!! That was it!!

    Does Pythonista have some form of visual indicator to let you know if your indentation is not correct? (I have no idea knowing if my indentation is correct or not) I thought I was following video accurately.

    I guess, if Pythonista does not run, that’s pretty much letting me know, the indentation is wrong.

    However, would be nice if it pointed out “which of my code lines” needed indentation.

    posted in Pythonista read more
  • tactfulgamer

    Hello,

    I am trying to understand what I am doing wrong?

    I am following a step by step youtube video. I don’t understand why it’s not running on Pythonista? I even tried changing the interpreter to 2.7, still not running the code. There is no error message. It’s just not running. The play button blinks when I tap on it or use cmd (r), and nothing happens after that.

    Here is the video link:
    (I cannot proceed past the 12:50 mark since the code is not running)

    https://youtu.be/miuHrP2O7Jw

    Here is my code:

    
    import random 
    import time
    
    def displayIntro():
            print("It is the end of a long year of fighting space criminals")
            print("you come to a crossroads on your trip home, one path leads home")
            print("where you will be handsomly rewarded for a job well done")
            print("and the other leads through a gamma ray burst")
        
    def choosePath():
                path = ""
                while path != "1" and path !="2": #input validation
                    path = input("Which path will you choose? (1 or 2): ")
    
                
                return path
                
                displayIntro()
                choosePath()
    
    

    posted in Pythonista read more
  • tactfulgamer

    I almost deleted the script by swiping to the left on it, from the left side panel. Is the a way to close out the open script?

    I don’t see an x button or anything.

    Thank you!

    posted in Pythonista read more
  • tactfulgamer

    @pulbrich

    Thank you. I can’t wait to go over it!!

    posted in Pythonista read more
  • tactfulgamer

    I am trying to learn coding. I am a true beginner. I searched youtube and found one from giovanni creating a game. This game guide is cool - but as I followed along, I have no idea what I am doing.

    It feels more like I am just typing - what he is typing. No in-depth knowledge being absorbed or understanding. I don’t feel like I am gaining the knowledge. I still need basic follow along guides.

    I am searching for a tutorial that guides us with the basic concepts of coding (Variables, Tables, If & Else, Strings, Loops, Boolean’s) and as I follow along - IT ALL WORKS on pythonista.

    Is there something like this? If not a video - I am fine with text follow alongs.

    Thank you.

    posted in Pythonista read more
  • tactfulgamer

    Thank you.
    I was able to locate it.

    posted in Pythonista read more
  • tactfulgamer

    Thank you - I will try again. Most likely user error.

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!