Resumen:
Learning history as a simple memorization of events does not guarantee learning that allows one to use what has been assimilated for the benefit of oneself and society. Therefore, new learning methods must be developed that transcend passive memorization to achieve meaningful and lasting assimilation. This article presents the formal development of an Intelligent Tutoring System (ITS) for teaching agriculture in the Teotihuacan culture, implemented in an immersive Virtual Reality (VR) environment. The system integrates a virtual tutor based on Artificial Intelligence (AI) that guides the student through a gamified maize cultivation process. The main contribution of this work is the proposal of a mathematical formalism that models the gamified learning process. This model, based on Automata Theory and Markov Decision Processes (MDPs), defines the student's progress states.