Game loop clean up and finish last move automatically when there's only 1 move left