Main topic of this work is development of educational games that can be used on mobile devices. Paper describes a novel approach to educational game defining and interpretation. Idea is based on extracting knowledge, game rules and scenarios outside the program thus enabling reusability. On the other hand by applying a layered approach to educational game interpretation we enable use of the same educational game on different devices and platforms. Purpose of this is to take learning outside classrooms and homes and provide a fun and interesting way of learning anytime, anywhere. Paper shows an example adventure game that is created following this methodology. Keywords Educational games, m-learning, mobile devices