ii
Abstract
This diploma thesis presents A Quest of Knowledge, a 2D serious educational game that
combines dynamic learning with an interactive gaming experience. Designed for players of all
ages, the game blends exploration and strategy within an open-world environment featuring
pixel art graphics, inspired by classic titles such as The Legend of Zelda (1986). Players explore
a variety of thematic areas, interact with non-playable characters (NPCs) based on historical
figures, and answer dynamically generated questions from subjects such as mathematics,
geography, biology, and more. By adjusting difficulty levels based on the number of questions
and the player's age, the game enhances accessibility, replayability, and engagement. The
gameplay consists of exploration, where players discover NPCs and collect thematic items;
strategy, where they face enemies; and interactive dialogues, where they gain knowledge from
NPCs. Leveraging advanced artificial intelligence technologies, such as large language models
(LLMs) and real-time dynamic content generation, the game creates unique dialogues and
personalized educational content, enriching the player's experience. Developed using Pygame,
the game is compatible with Windows, Linux, and Mac computers. By integrating education,
entertainment, and AI-driven dialogues, A Quest of Knowledge offers an innovative learning
environment that transforms the pursuit of knowledge into an interactive adventure.
Keywords
serious educational games, Artificial Intelligence, Python, Pygame, Large Language Models
(LLMs)