Beginning C++ Through Game Programming, Second Edition

  • 5h 12m
  • Michael Dawson
  • Cengage Course PTR
  • 2007

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!

About the Author

Michael Dawson is a game programming author and instructor who teaches students the art and science of writing their own games. Mike has developed and taught game programming courses for UCLA Extension and The Digital Media Academy at Stanford University. In addition, his books have been required reading in colleges and universities around the country.

Mike got his start in the game industry as a producer and designer, but he also “starred” in an adventure game in which the player controls the main character, named Mike Dawson. In the game, the player directs the digitized images of Dawson, who must stop an extraterrestrial invasion before an implanted alien embryo is born from his head.

In real life, Mike is the author of Beginning C++ through Game Programming, Second Edition and Python Programming for the Absolute Beginner. He earned his bachelor’s degree in Computer Science from the University of Southern California.

In this Book

  • Types, Variables, and Standard I/O—Lost Fortune
  • Truth, Branching, and the Game Loop—Guess My Number
  • For Loops, Strings, and Arrays—Word Jumble
  • The Standard Template Library—Hangman
  • Functions—Mad-Lib
  • References—Tic-Tac-Toe
  • Pointers—Tic-Tac-Toe 2.0
  • Classes—Critter Caretaker
  • Advanced Classes and Dynamic Memory—Game Lobby
  • Inheritance and Polymorphism—Blackjack