Found in 3 comments on Hacker News
hlship · 2023-01-17 · Original thread
Not quite a beginner book, but you should check out https://www.amazon.com/Mazes-Programmers-Twisty-Little-Passa....
thrower123 · 2020-02-11 · Original thread
Some good ones I don't see yet, which I like because they very much follow the organic path you might follow doing things incrementally, rather than presenting everything full-blown.

How to Make an RPG - Build a retro-style JRPG from scratch

https://howtomakeanrpg.com/

Mazes for Programmers: Code Your Own Twisty Little Passages by Jamis Buck - covers a whole gamut of different maze generation algorithms. This author also has a great book on doing a raytracer step by step.

https://www.amazon.com/Mazes-Programmers-Twisty-Little-Passa...

Rough Cut--Woodworking with Tommy Mac: 12 Step-by-Step Projects - very nice beginning woodworking book.

https://www.amazon.com/Rough-Cut-Woodworking-Tommy-Step-Step...

The Inform (6) Beginner's Guide - introduces the Inform 6 interactive fiction language through three successive text adventure games

https://www.inform-fiction.org/manual/IBG.pdf

Fresh book recommendations delivered straight to your inbox every Thursday.