Error game loop