An online curfew in China will prevent under-18s playing games at night and restricts them to 90 minutes on weekdays. (Image: Fortune)