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.
1849 is a city building and management game ...