Lesson 2: Targeting
So far you have used feature flags in two ways:
- Flags that can only be
true
orfalse
(boolean flags) - Flag evaluations that produce the same result for all users
In addition to these, feature flags can be multivariate, meaning they have multiple different values, not just a true / false
boolean.
You can also target flags to produce different values for different users.
In this lesson, we'll explore targeting. You'll configure the space-mode
flag so that the choice of graphics depends on what we know about the user who's playing the game.