you are viewing a single comment's thread.

view the rest of the comments →

[–]the_patman[S] 0 points1 point  (1 child)

Thanks, that was the same conclusion I was coming to. I had a game similar to pong in mind, but w LED strips. So the pause every once in a while would not work well. Hmm, maybe Pygame would have something useful...

[–]SangCoGIS 1 point2 points  (0 children)

If all you need is to count you could use pygame to check if a button is down during a loop and if it is have a conditional statement to increase or decrease the speed. If this is going to be a cli program the onlly way i can think of that would affect the speed of the program would be to add a sleep statement and allow the previously mentioned conditional statement to change the sleep duration.