The word game once meant gambling
In colonial America game mostly meant gambling, which was the least accepted pastime. Over the nineteenth century it came to mean a playful contest by agreed rules. Oriard also notes that game could mean a scheme or a trick, as in playing games with someone.
From Oriard, 1991, p. xii. Oriard, M. (1991). Sporting with the gods: the rhetoric of play and game in American culture. Cambridge: Cambridge University Press. ISBN 0-521-39113-X. (The copy is the digital printing of 2007, ISBN 978-0-521-39113-9. No DOI found.)