• Louise

    Thank you all for your help.

    I have now got it working! I have a variable that holds whether it’s the players turn or computer’s turn. As all the functions are in if statements dependant on this variable (like a game_state variable) I set it to ‘wait’ immediately before I want my wait & then my action sequence calls a function to set it to ‘computer’ after the wait.

    Thanks again for the extra info on how wait works - don’t think I would have got there on my own!

    posted in Pythonista read more
  • Louise

    I’m new to Pythonista & a relative beginner to Python / coding in general.

    I’m trying to adapt a Reversi game I made with Pygame to use Pythonista Scene module instead. I want to pause for a second before the computer makes its move, so you can see the results of your move. I put

        self.run_action(Action.wait(1))
    

    as the first line in the function that makes the computer’s move, but it is not pausing, any idea what I’m doing wrong?

    Thank you

    posted in Pythonista read more
Internal error.

Oops! Looks like something went wrong!