For years, parents have blamed video games for encouraging violence in their children. Now, they’re suing them for getting their kids addicted, with the help of artificial intelligence.

More than a dozen lawsuits have been brought against the developers of video games like Call of Duty, Grand Theft Auto and Fortnite, as well as the consoles and other devices used to play the games. Xbox manufacturer Microsoft Corp. and Sony Interactive Entertainment, which makes the PlayStation, are named alongside the nation’s largest video game developers, including Epic Games Inc. and Activision Blizzard Inc., as well as dozens of other defendants.