example game loop image