The paper explores a game-based approach to language placement tests within Learning Management Systems (LMS), addressing issues of incorrect course placement and student disengagement. By gamifying assessments, the initiative aims to create a motivational and playful environment that accurately estimates students' language skills. The game design is guided by player type models and motivational frameworks, ensuring an engaging experience that caters to diverse player motivations. The game, "Journey to Mars," is set in a science fiction environment and uses multimedia elements and interactive modules to integrate educational content seamlessly. Methods for game analysis were adopted to create a gamified placement test in three steps. First, we adopted the basic game structure from the goals of the placement test. Second, we created plot points and settings and derived certain style and interface elements to create a coherent gaming environment. Third, we enriched the gaming experience with additional elements like badges and secret elements. The development process involved utilizing the ILIAS LMS tools, generative AI for content creation, and implementing progressive difficulty and feedback systems to enhance the educational value. Initial feedback indicates positive engagement and motivation among students.