0
How can i use an input again? I wrote a tictactoe programm, where i need the imput from the first player after he had played.
i need the input to rebuild the map... please help me!!!
6 odpowiedzi
+ 7
Impossible in Code Playground… ~_~
+ 2
have the program play itself?
0
i meen on python 2 at the raspberry
0
the programm is made for two player who playing against each other, and i need the last input to rebuild the map, so that there isn't only one 'x' for example on the map
0
You have to create a infinite loop controlled by the input, and create a variable to control the turns.
0
player=input("where do you want to play?")
or player=int(input("where do you want to play?")) if you want the user to input a number..
I don't recommend doing this on the code playground though because the input system is really bad