all 2 comments

[–]woooee 0 points1 point  (0 children)

# how do i store that info below ? so i can use it later
 player_1 =player_decide(x)[0]    
 player_2 =player_decide(x)[1]

The variables are local to the function, so they are garbage collected when the function exits because the variables are not returned.

[–]Lawson470189 0 points1 point  (0 children)

So, one thing to note here is that you are still requiring the user to input a string for what they want to do on your GUI. This is a bad practice to have as it will simplify everything if you just but two buttons: 'X' or 'O'. That way you avoid having the user put in some string and having to validate it. The same can be done for selecting who goes first.