Understanding the dynamics of level structure and game elements in digital educational games is paramount to fostering competency acquisition. How levels are organized within a game, along with the use of various game elements, has a significant impact on the learning outcomes and skill development of individuals. Through the strategic design and implementation of these components, educational games can effectively engage learners and facilitate the acquisition of competencies in multiple domains. In addition to structure, the integration of gamification elements can have a profound impact on learner engagement and sustainable skill acquisition. Therefore, a key element for the success of a serious game is to create appropriate personalization and a balanced relationship between learning and gaming experience. As a result, a mini-game called "Basketball Physics Challenge" has been designed to be integrated into an intelligent, adaptive physical learning game centered around force and motion as part of an ongoing research project. By playing the game "Basketball Physics Challenge", players will apply their understanding of basic physics principles in a realistic, interactive, and virtual setting. An experimental design was used to test the mini-game, in which a gamified and a non-gamified version were used and compared. 20 participants completed the experiment, and their learning progress was meticulously tracked. Using competency-based knowledge space theory, the mini-game facilitated in-game competency assessment, enabled monitoring of learning progress, tailored learning experiences, and provided individualized formative feedback. The pilot was used to develop and implement a competency model that will be the subject of future in-depth studies. The results indicated that the gamified version of the game led to slightly higher engagement and performance levels compared to the non-gamified version, although the difference in learning outcomes between the two versions was not statistically significant. The analysis also showed that an optimal number of levels and a balanced integration of game elements are crucial for maintaining engagement without causing cognitive overload. Furthermore, the order in which the game versions were presented affected player performance, with initial exposure to gamification leading to better outcomes. These findings provide valuable information for the design of educational games and their effectiveness in skill acquisition. This research supports the development of powerful educational technologies that enhance learning through a coherent level structure and meaningful use of game elements that effectively promote learner engagement.