The figure usually cited is one to two hours a day of screen time for gaming or computer use, and that is what I hold my own children to — two hours, then something else.
The number matters less than the shape of the day around it. Homework, sleep, physical activity, and time with other people should all come first, and games fill what is left. A consistent cut-off point also saves the argument every evening.