It was invented and is "taught" by an avuncular individual known as "The Professor" who is nevertheless seen trying to escape from the Village along the beach at the episode outset.
A character called The Professor, who is depicted as a wise and experienced individual, introduces and guides the player through the game, but is also shown trying to escape from the Village by the sea at the start of the episode.