Understanding the basics of a game architecture

In order to better understand the fundamentals of a typical game architecture at a high level, we can begin with a historical perspective with the first text-based adventure game Adventure.

The high-level game loop of Adventure

The following figure (Figure 1) describes the high-level game loop of Adventure type text-based games where the game would block all updates for its lifetime until it receives user-based text input on the command line:

The high-level game loop of Adventure

Figure 1

Once the text was read from the command line (carriage returns were typically an indication that the player was finished inputting text), the game would ...

Get Mastering LibGDX Game Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.