A first game can be a race with a theme added
Senet, perhaps the oldest known boardgame from at least 3500 BC, is presumed a race. The Royal Game of Goose, one of the first commercial boardgames, put a theme on a race.
From Elias, Garfield and Gutschera, 2012, p. 273. Elias, G. S., Garfield, R. and Gutschera, K. R. (2012). Characteristics of games. Cambridge, MA: MIT Press. ISBN 978-0-262-01713-8.