The honest answer depends far more on the type of game than on a number.
For single-player games, somewhere around age ten is a reasonable starting point. By then most children can read on-screen text, handle a controller without frustration, and follow a set of rules long enough to finish a level.
For online multiplayer, the practical threshold is higher — and not because of skill. Voice chat and public matchmaking expose players to unmoderated conversation, and younger players often struggle with the tone that dominates those spaces. Waiting until the late teens or early twenties tends to make the experience considerably more pleasant for everyone involved.
Worth adding: age ratings like ESRB and PEGI exist precisely because content varies wildly. A puzzle game and a shooter are not the same conversation, regardless of how old the player is.