Goals keep play going
Goals can be linear, like harder opponents, or independent, like winning with only marines. A large goal like finishing the story keeps interest and also gives a place to stop.
From Elias, Garfield and Gutschera, 2012, p. 242. Elias, G. S., Garfield, R. and Gutschera, K. R. (2012). Characteristics of games. Cambridge, MA: MIT Press. ISBN 978-0-262-01713-8.