A teacher chooses to use a software that has a content-based…

A teacher chooses to use a software that has a content-based challenge situated within a narrative story in which the student can choose to become a character within it and works toward resolving the learning challenge. What function is most likely built within this software?