Branch game loop improvement