Work on a real game loop