Character personalities

Probability and randomness are not only about dice. We can also use a probability distribution to specify the in-game character's specialties. Let's pretend we designed a game proposal for a population management game for the local government. We need to address and simulate issues such as taxation versus global talent attraction, immigration versus social cohesion, and so on. We have three types of characters in our proposal; namely, workers, scientists, and professionals. Their efficiencies in performing their particular tasks are defined in the following table:

Characters

Construction

R&D

Corporate jobs

Worker

95

2

3

Scientist

5

85

10

Professional

10

10

80

Let's take a ...

Get Unity Artificial Intelligence Programming - Fourth Edition 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.