ABSTRACT

A novel approach for the classroom or self-study, Learn to Code with Games makes coding accessible to a broad audience. Structured as a series of challenges that help you learn to code by creating a video game, each chapter expands and builds your knowledge while providing guidelines and hints to solving each challenge.The book employs a unique pro

chapter 1|16 pages

Our Hero Is Stuck!

chapter 2|22 pages

Characters and Characteristics

chapter 3|20 pages

The Bounds of the World

chapter 4|30 pages

Sprinting and Sneaking

chapter 5|14 pages

Collectables

chapter 6|16 pages

Spawning Objects

chapter 7|16 pages

Taking Inventory

chapter 8|16 pages

A Party of Heroes

chapter 9|20 pages

Generating a Tile Map

chapter 10|20 pages

Spawning Objects on a Tile Map

chapter 11|20 pages

Level Generation

chapter 12|22 pages

Game State Management

chapter 13|30 pages

Gameplay