Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Practical C++ Game Programming with Data Structures and Algorithms
  • Table Of Contents Toc
Practical C++ Game Programming with Data Structures and Algorithms

Practical C++ Game Programming with Data Structures and Algorithms

By : Zhenyu George Li, Charles Shih-I Yeh
3 (1)
close
close
Practical C++ Game Programming with Data Structures and Algorithms

Practical C++ Game Programming with Data Structures and Algorithms

3 (1)
By: Zhenyu George Li, Charles Shih-I Yeh

Overview of this book

Creating 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.
Table of Contents (18 chapters)
close
close
Lock Free Chapter
1
Part 1: Data Structure and Algorithm Fundamentals
5
Part 2: Graphics Algorithms in Practice
10
Part 3: Breathing Life into Your Games
14
Part 4: Reflecting and Moving Forward
16
Other Books You May Enjoy

Understanding the structure for introducing algorithms in this book

In this book, we will explore a wide range of algorithms that are essential for game development. Each chapter is structured to provide a comprehensive understanding of an algorithm through several key components. Each algorithm will be introduced and explained following this structure:

  1. Use case and requirement analysis: Each algorithm will begin with some use case examples that address the challenges in game development.
  2. Algorithm explanation: We will delve into the algorithm’s logic and thought process. This section aims to break down the algorithm and introduce the idea and steps, which explain the underlying principles.
  3. C++ implementation: Based on the algorithm’s theory, the book presents key blocks of code of the C++ implementation to help you grasp the core idea of the algorithm. To better understand the source code, you can read into the demo projects’ code, which...
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Practical C++ Game Programming with Data Structures and Algorithms
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon