Your child wants to know how computers actually work, and would rather build a game than play one. Any one of these books satisfies this path on its own. Pick by two things: how old your child is, and whether they want a story about coding or their hands actually on it.
There's a rough shape here if you want one. The two picture books at the front make coding physical and funny for a child too young to type a line. The Girls Who Code chapter book and the Secret Coders graphic novel wrap real coding logic inside a friendship story and a spooky-school mystery, for a child who wants a story first. And the Scratch guide, the Girls Who Code concept book, and Python for Kids are the hands-on end, where an older child stops reading about code and starts writing it. Match the book to your child's age and to whether they want to hear a story or build a thing, and you can't go wrong.