Relative Content

Tag Archive for pythontimeuser-input

in python how do you take an input for a certain length of time

i am trying to make a snake game in python but can not find out how to make it so that the snake continues moving without the player inputting so I would need to cancel the input after 2 seconds if anyone know an easy way to do this it would be greatly appreciated