I want to run my code when Button_1 is pressed. So something like :
def buttonPress(self, event):
(Not sure what to put here)
def playGamesWith(self, aiPlayer):
if buttonPress == True:
...
Would this be the right approach? Create a function that checks for the event then returns true when it is pressed? If so, how would I do that?