I answered this already, though your original question was much shorter. Change your game control architecture to be event driven rather than while( true ) loop driven or whatever it is now. I...