I don't know which to buy?

Hello, I am interested in buying the 2D game development book, but I was wondering if I buy the book in amazon does it come with the pdf link? Also if I get the book does it come with link to download the assets and complete source codes? I am more into the get the paperback book.