O'Reilly logo

Game AI Pro 2 by Steven Rabin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8

Production Rules Implementation in 1849

Robert Zubek

8.1 Introduction

This chapter presents implementation details of the production rule system used in the game 1849. The system’s main design goals were enabling quick iteration via a data-driven approach and good performance on a variety of hardware, down to significantly underpowered tablet devices.

First, we discuss the details bottom up, from the world model, through rule implementation, up to the overall rule system that manipulates them. Then, in the second half, we examine the performance consequences of these design choices, as well as lessons learned in the process of implementing the system.

8.2 Game Mechanics and Production Rules

1849 is a city building and management game ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required