Buy Practical C++ Game Programming with Data Structures and Algorithms
close menu
Bookswagon
search
My Account
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Home > Computing and Information Technology Books > Computer programming / software engineering > Games development and programming > Data Structures and Algorithms for Game Programming in C++: Write high-performance code and solve game development challenges with expert-led C++ solutions
Data Structures and Algorithms for Game Programming in C++: Write high-performance code and solve game development challenges with expert-led C++ solutions

Data Structures and Algorithms for Game Programming in C++: Write high-performance code and solve game development challenges with expert-led C++ solutions


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

Learn C++ game programming through real-world demos of AI systems, animation, and rendering to build scalable, high-performance games using patterns you can reuse across any game engine Free with your book: DRM-free PDF version + access to Packt's next-gen Reader* Key Features Build real-time 2D and 3D games using C++ with practical, executable examples Gain proficiency in game programming domains like AI pathfinding, camera systems, animation, and rendering effects Boost runtime efficiency with object pooling, LOD patterns, and terrain partitioning to create smoother, more responsive gameplay systems *Email sign-up and proof of purchase required Book DescriptionCreating responsive, intelligent games takes more than just following engine tutorials. It requires solving real development challenges with practical, efficient code. This book bridges theory and practice with proven algorithms and techniques grounded in real-world production needs, emphasizing clean, portable C++ implementations. Starting with raylib and the custom Knight engine layer, you’ll be introduced to a simple object-oriented scene and game object system. From there, you'll build responsive gameplay systems using essential data structures and algorithms, progressing through 2D rendering, collision detection, effects, and camera control before advancing to 3D graphics environments built using shaders, lighting, quad-tree terrain, and dynamic camera setups. You’ll animate characters using skeletal rigs, interpolation, and inverse kinematics for fluid movement and then develop game AI using FSMs, behavior trees, A* pathfinding, and steering behaviors. The book also covers neural networks, exploring their underlying theories, training processes, and tools. Throughout, the code is written in legacy-compatible C++ to ensure broad support across platforms and compilers. By the end, you’ll have gained the skills to build game systems that not only work but also scale, perform, and adapt like professional-grade code.What you will learn Use C++ data structures and algorithms to build core gameplay features Implement 2D/3D rendering with shaders, particle effects, and terrain systems Design camera systems like third-person, top-down, and split-screen views Optimize performance using object pooling and LOD Animate characters using skeletal rigging, interpolation, and inverse kinematics Build game AI with FSMs, behavior trees, pathfinding, and steering Apply neural network concepts in a turret defense project Who this book is forThis book is for junior game developers, hobbyists, and computer science students entering game development, as well as C++ programmers looking to strengthen their skills. While some familiarity with C++ is helpful, the examples are explained step by step to remain approachable. Whether you're starting out or reinforcing your skills before diving into game engines down the road, this book offers a clear and practical foundation to make you a more effective developer, regardless of which tools you choose later.

Table of Contents:
Table of Contents

  1. Gearing Up: C++ for Game Development
  2. Data Structures in Action: Building Game Functionality
  3. Algorithms Commonly Utilized in Game Development
  4. 2D Rendering and Effects
  5. The Camera and Camera Controls
  6. 3D Graphics Rendering
  7. Rendering a 3D Game World
  8. Animating Your Characters
  9. Building AI Opponents
  10. Machine Learning Algorithms for Game AI
  11. Continuing Your Learning Journey


About the Author :
Zhenyu George Li is a veteran software engineer and passionate game developer with over 20 years in the industry. As a Senior Development Software Engineer at Unity, he advances tools and workflows that power modern games. His career spans commercial titles such as Sandbox, Halo Infinite, Magic Arena, Stela, Dead Rising 2, and The Bigs 2. With expertise in engines, AI, graphics, animation, physics, networking, and UI, he brings broad technical depth. George has also taught Unreal Engine, programming, and software engineering at institutions including Vancouver Film School, sharing his knowledge with future developers. Charles Shih-I Yeh studied computer science at the University of Southern California and began his career in games in the early 2000s. He has built proprietary engines, developed DCC tools to optimize pipelines, and designed gameplay mechanics, multiplayer systems, and tournament services for MMORPGs. Dedicated to education, Charles has lectured on game programming at several universities. He is the author of two game design books and the official Mandarin translator of several well-known programming titles, including Game Programming Gems IV.


Best Sellers


Product Details
  • ISBN-13: 9781835889862
  • Publisher: Packt Publishing Limited
  • Publisher Imprint: Packt Publishing Limited
  • Height: 235 mm
  • No of Pages: 428
  • Returnable: N
  • Sub Title: Write high-performance code and solve game development challenges with expert-led C++ solutions
  • ISBN-10: 1835889875
  • Publisher Date: 30 Jun 2025
  • Binding: Paperback
  • Language: English
  • Returnable: N
  • Returnable: N
  • Width: 191 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Data Structures and Algorithms for Game Programming in C++: Write high-performance code and solve game development challenges with expert-led C++ solutions
Packt Publishing Limited -
Data Structures and Algorithms for Game Programming in C++: Write high-performance code and solve game development challenges with expert-led C++ solutions
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Data Structures and Algorithms for Game Programming in C++: Write high-performance code and solve game development challenges with expert-led C++ solutions

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!