Chapter 1. Pseudo Random Numbers

This chapter will introduce the idea of procedural content generation and one highly useful component, pseudo random numbers. Later in the chapter, you will use pseudo random numbers to create a derivation of the classic Hello World program. For convenience, procedural content generation will be abbreviated to PCG for the remainder of the text. Let's also abbreviate pseudo random numbers to PRNs.

Here's a quick overview of what the chapter will cover and what you will learn:

  • Define PCG: What it is and what you can do with it
  • Discover PRN generation
  • Learn how PRNs relate to PCG
  • Use PRNs in our first program
  • Develop a new randomized PCG like the Hello World program

In this chapter, we will complete a very simple step-by-step ...

Get Procedural Content Generation for Unity 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.