I wouldn’t say A Theory of Fun is “the book.” It’s more a coffee table read. “The book” is Jesse Schell’s The Art of Game Design
https://tynansylvester.com/book/
Haven't read it yet myself.
This is oversimplifying, most designers fall into a bucket of mixed styles; but the point is, no "book" will be perfect for all. Same as with software engineering, graphic design, etc.