This study analyses the application of games and gamification to increase student motivation and ensure an effective and sustainable learning process in the modern sustainable environment of digitalisation and e-learning. Recent changes have revealed that traditional teaching methods do not always sufficiently engage students, increasing the risk of decreased motivation to learn and poorer achievement. Gamification, which is based on the integration of game design elements – points, levels, badges, challenges – into learning activities, can help reduce these risks by promoting student autonomy, a sense of competence and social engagement. The study presents the application of a gamification system based on case analysis using an educational platform that allows the creation of educational games and the assessment of student engagement in real time. The results show that gamification methods significantly increase student activity and motivation to learn, while integrated game elements improve student’s motivation and learning experience. Based on the analysis, the paper presents conclusions and recommendations for the effective, high-quality, and sustainable organisation of the modern education process based on gamification.