Track Player Movement in a First-Person Shooter Game
In a first-person shooter game, an agent is hiding inside a level and waiting to jump out at the player. The agent cannot see the player, but can hear what they are doing and can then match that against its knowledge of the layout to estimate the player’s position. Consider a layout with 27 regions of four types—grass, metal grates, water, and door portals.
Assign colors to the different types of regions.
Walking on the different terrain types produces different kinds of sounds.
Probabilities of giving out sounds depends on the terrain type.
Visualize the layout of the level.
Assume the player enters through one of the doors with equal probability.
The player remains in the current region with probability 10%, and otherwise is equally likely to move to any of the neighboring regions.
The agent hears the following sequence of noises.
This shows that most likely the player entered through the door marked 27 and is currently in region 7.