Gabriel #1 Set up a timer, which calls (say) your main function every XX Milli, and then run your game code from there. What happens if the PC it's running on isn't running the game fast enough to run the function every XX milliseconds?