What is it that sets games apart from other forms of entertainment, keeping players coming back for more? Interactivity. The ability to control the outcome. Programming is an integral part of that interactivity, and C++ is a vital skill in programming for games. Beginning C++ through Game Programming, Second Edition will provide you with the core skills you need to begin programming with C++ specifically as it relates to games. You'll reinforce each new skill by creating small games along the way, and you'll put these skills to the test with one ambitious game project at the end. By the time you finish, you'll have a solid foundation in the programming language of the professionals!
Chapter 1 Types, Varibles, and Standard I/O: Lost Fortune
Chapter 2 Truth, Branching, and the Game Loop: Guess My Number
Chapter 3 For Loops, Strings, and Arrays: Word Jumble
Chapter 4 The Standard Template Library: Hangman
Chapter 5 Functions: Mad-Lib
Chapter 6 References: Tic-Tac-Toe
Chapter 7 Pointers: Tic-Tac-Toe 2.0
Chapter 8 Classes: Critter Caretaker
Chapter 9 Advanced Classes and Dynamic Memory: Game Lobby
Chapter 10 Inheritance and Polymorphism: Blackjack