crtrdg gameloop