Gamification and competitive learning are widely recognized in computing education as effective strategies to increase engagement and promote a deeper understanding of complex topics. Previous research highlights the benefits of integrating competitions into programming courses. However, existing tools lack mechanisms for scalable, quality-based evaluation and immediate feedback, which are critical elements for optimization-focused courses. This paper reports on the design and deployment of a novel competitive platform for the course Algoritmos de Búsqueda II of the Grado en Inteligencia Artificial (Search Algorithms II and Artificial Intelligence degree, respectively) at Universidad Rey Juan Carlos that addresses the aforementioned gaps. Unlike previously used systems, which primarily support code submission and correctness checks, our platform introduces several innovative features rarely combined in the literature: proportional scoring based on solution quality, automated constraints validation, and real-time leaderboards. These capabilities enable instructors to create contests, define validation mechanisms, and manage user roles, while students can submit solutions and monitor rankings dynamically, fostering autonomy and motivation, competing to provide better solutions than other students. The automated platform introduced in the 2025–2026 academic year substantially increased student engagement compared to the previous manual, spreadsheet-based approach used in 2024–2025. With similar enrollment numbers (30 students versus 29), active participation increased from 34.3% to 76.5%. Students also demonstrated greater engagement, submitting an average of 5.1 solutions, representing a 142% increase over the previous year’s average of 2.1 submissions per student. Furthermore, 56% of these activities occurred outside of scheduled laboratory sessions, highlighting the effectiveness of the platform in fostering autonomous and self-directed learning within a competitive and gamified environment.