AnyBook4Less.com
Find the Best Price on the Web
Order from a Major Online Bookstore
Developed by Fintix
Home  |  Store List  |  FAQ  |  Contact Us  |  
 
Ultimate Book Price Comparison Engine
Save Your Time And Money

Data Structures for Game Programmers

Please fill out form in order to compare prices
Title: Data Structures for Game Programmers
by Ron Penton
ISBN: 1-931841-94-2
Publisher: Premier Press
Pub. Date: 25 November, 2002
Format: Paperback
Volumes: 4
List Price(USD): $49.99
Your Country
Currency
Delivery
Include Used Books
Are you a club member of: Barnes and Noble
Books A Million Chapters.Indigo.ca

Average Customer Rating: 4.7 (10 reviews)

Customer Reviews

Rating: 2
Summary: Tries, but doesn't quite get there
Comment: Publishing a book on data structures and algorithms isn't an easy task, because there's no computer science genre that's got as much of a pedigree. With titles ranging from a dozen good college textbooks to Sedgewick's five-volume _Algorithms_ series to Knuth's dense and eternally-unfinished _Art of Computer Programming_ series, any new book on data structures and algorithms is facing some serious competition. When I learned that Ron Penton, a newcomer to the programming book scene, was entering the foray with _Data Structures for Game Programmers_, I was skeptical. Could a book explaining the deep subject of data structures and algorithms written by someone with comparatively little experience in programming hold its own against books written by lifelong academics?

Unfortunately, that answer is "not really". While _Data Structures for Game Programmers_ does a reasonable job of explaining the data structures and algorithms that are necessary for games, the book suffers from serious organization problems and a lack of depth.

The book does cover the expected basics and follows the standard format, with a chapter on arrays, a chapter on linked lists, a chapter on binary trees, a chapter on stacks & queues, etc. These are covered reasonably well, showing how the structures are represented, the advantages and disadvantages of each, and how to code them. The book does try to distinguish itself from a standard college data structures textbook in two ways. First, each data structure and algorithm includes an interactive example program on the included CD. These examples are very well done and are an excellent way to see constructs "in action". Second, the example programs are all game-oriented, mostly involving a Zelda/Ultima style adventure game.

Around page 600, the book takes a turn into algorithm territory, and it does take a more game-oriented focus following the obligatory chapter on sorting. Chapters on data compression, random numbers, and path-finding are natural fits for all kinds of games.

Following the algorithms are a few short appendices covering the basics of C++ (or as much as can be covered in 30 pages, which isn't much), a few pages on how PC memory is organized, a quick overview of SDL (the graphics library used to make the example programs), and twenty pages on STL.

Unfortunately, the short shrift given to STL is one of the problems with the book. While the value of STL was once debated, it is now blessed by ISO as the C++ standard library and is now as much a part of C++ as the if( ) statement. About half of the data structures covered in the book are already implemented in STL, and the rest can be made out of combinations of STL containers and algorithms. The book, however, ignores STL in favor of building all data structures from the ground up. While I understand the need to show how data structures look and work internally, the chapters should at least mention that the structures are already part of C++ and don't need to be implemented directly.

Early on I mentioned the organizational problems with the book, and a couple of them are significant. The first is how, despite the fact that the book is aimed at C++ beginners, the book opens with a fairly advanced chapter on templates. The templates chapter is followed by a far-simpler chapter on arrays. Despite having not covered arrays yet, the chapter on templates implements an array container assuming that arrays are already understood. Even worse, chapter 9 is a tutorial on how to write classes in C++, even though C++ classes have been in heavy use since chapter two! I honestly don't know if this is a case of chicken-egg syndrome run amok or if it's a case of an author and editor not spending enough time organizing the layout of the book, but it does make for a confusing read.

My final complaint about the book is about the relative lack of depth given to the subjects. While simple structures like arrays are covered comprehensively, there is too much "this is too advanced a topic for this book" later on. For example, the chapter on binary trees shows how to build and climb a binary tree. The chapter does correctly state that binary trees suffer from a significant flaw, which is that the search efficiency is very dependent on the order of the data inserted. The chapter also states that there are ways around this flaw, namely AVL and red-black trees which re-balance themselves. That's where the book stops, though. Even though the book could cover balanced trees with a few more pages, the book just recommends you look elsewhere and leaves (no pun intended) binary trees with their flaws. This is later repeated in the chapter on minimax trees, mentioning that tree-searches can have their performance improved significantly, but not detailing those ways because, according to the author, the chapter was getting too big and most folks aren't interested in minimax trees anyway.

In conclusion, _Data Structures for Game Programmers_ tries to achieve a lofty goal, staking a space among books written by the top people in the field. Unfortunately, though, it only partially reached that goal, covering some topics well and gaining big points for the quality of the programs on the included CD, but falling well short of the mark in organization and depth of advanced coverage.

Rating: 5
Summary: Don't miss this one!
Comment: The title is scary. Really scary. Data structures ... *shudder* ... it brings up nightmare images of professors who droned for hours while the class snored ... it sounds like one of those books that is so dry you have to soak it in water before you read it. It isn't.

This book is excellent. My husband thinks I'm nuts because it kept me up late reading in bed, but it's that good. The author explains complex concepts very clearly, with some humor to keep it entertaining. He's a game programmer writing for other game programmers, which is a refreshing change from the myriad books that seem to be by academics writing for review committees.

It explains all of the many ways data can be handled, from simple arrays to recursive structures, hashing, and other complex forms. Ok, any good advanced programming book would tell you this -- but they rarely if ever bring up considerations like how memory caching should influence your choice of data structures, or the impact of those choices on game design.

In addition to data structures, the author covers what you can do with them, and why. Topics such as pathfinding are covered and demonstrated. SDL, a cross-platform graphics library, is used for the demos and the coverage of that is almost worth the price of admission. (though I recommend Focus on SDL in addition)

If you're writing a game you need to know this stuff. Read this book.

Rating: 5
Summary: Does what it says
Comment: i wanted a book to brush up on some data structures since i've been out of programming for a few months. plus, most of my learning of these has been self taught and from the internet where there is limited (good) writings on more complex subjects such as programming. so i wanted to have a fresh perspective. not only does the book contain very useful details in many areas and to the point information (gets to the first data structure by page 14!) but the author somehow makes this stuff fun to read.
the author doesn't go hugely in to depth in some areas but that's pretty much what i wanted since i am already familiar with how to use most of the stuff. very good book and i'd highly recommend it. hope this author continues with more books!

Similar Books:

Title: Game Scripting Mastery
by Alex Varanese
ISBN: 1931841578
Publisher: Premier Press
Pub. Date: 26 December, 2002
List Price(USD): $59.99
Title: Tricks of the 3D Game Programming Gurus-Advanced 3D Graphics and Rasterization
by André LaMothe
ISBN: 0672318350
Publisher: SAMS
Pub. Date: 02 June, 2003
List Price(USD): $59.99
Title: Game Coding Complete
by Mike McShaffry
ISBN: 1932111751
Publisher: Paraglyph Publishing
Pub. Date: 01 May, 2003
List Price(USD): $39.99
Title: AI Techniques for Game Programming
by Mat Buckland
ISBN: 193184108X
Publisher: Premier Press
Pub. Date: 14 October, 2002
List Price(USD): $59.99
Title: C++ for Game Programmers (Game Development Series)
by Noel Llopis
ISBN: 1584502274
Publisher: Charles River Media
Pub. Date: April, 2003
List Price(USD): $49.95

Thank you for visiting www.AnyBook4Less.com and enjoy your savings!

Copyright� 2001-2021 Send your comments

Powered by Apache