Learning a game is learning its algorithm
A player finds the rules by trial and error and gradually works out what each choice does. Wark quotes Galloway that to play is to play the code, and gives The Sims, where every object and person has a value that can be found out.
From Wark, 2007, p. 32. Wark, M. (2007). Gamer theory. Cambridge, MA: Harvard University Press. ISBN 978-0-674-02519-6. DOI 10.4159/9780674044838.