I can recommend the black art of 3d game programming, don’t remember by who, it’s this muscle guy :) and the series called “code on the cob”, by Chris Hargrove, while he was working at 3d realms
He has written several popular books in the 90s. His first (major, I believe) book was "Tricks of the Game-Programming Gurus", which revolved around Wolfenstein 3D (ray casting). In reality, it was an overrated and ultimately terrible book (amonth the other things, the book project was not an actual game, and his approach to optimization was to use assembly instead of better algorithms).
"Black Art of 3D game programming" is a good book instead, and also relatively relevant today, for those who want to understand the basics of 3d. It also goes in detail in explaining BSP trees, whose implementation is considerably more complex than one would imagine by reading "Game Engine Black Book - Doom" (nothing wrong with that, it's just a matter of page budget).
Teach Yourself Game Programming in 21 Days https://a.co/d/bYPxBpw was an earlier book of his and it was a really good introduction the concepts necessary to build 2D games. I doubt I'd be half the programmer I am today if I hadn't pored over it. I still remember fixing some of the bugs in his transparent sprite rendering code .
https://github.com/amroibrahim/DIYDoom
they also have a community forum, diyidtech, at https://discord.gg/a8n4Y2z