Change Timer to Game Loop