There are a bunch but it depends on whether you want to use a “reall language or a custom in-game language (usually visual programming). For example Baba is You is a great programming game but it’s very different from regular programming. There’s also games with high level visual languages like Autobots, all the way to games about assembly languages like TIS-100 and Shenzen-IO