exits game when complete