CS5410 -- Game Loop