A game has four defining parts
Every game has a goal, rules, a feedback system and voluntary participation. Story, graphics, scores, levels and competition are added to strengthen these four, and are not needed to make a game.
From McGonigal, 2011, ch. 1. McGonigal, J. (2011). Reality is broken: why games make us better and how they can change the world. New York: Penguin Press. ISBN 978-1-59420-285-8 (hardcover). (The copy is an e-book whose text file has no copyright page; its file identifier is 9781101475492, not matched in Open Library. No DOI.)