LGAIApr 13, 2025

Decoding the mechanisms of the Hattrick football manager game using Bayesian network structure learning for optimal decision-making

arXiv:2504.09499v1h-index: 8
Originality Incremental advance
AI Analysis

This work addresses the need for formal scientific evaluation of models in the Hattrick gaming community, though it is incremental as it builds on existing community efforts with new techniques.

The study tackled the problem of decoding the hidden mechanics of the Hattrick football manager game by using Bayesian network structure learning, finding that knowledge-based networks produced more accurate predictions for key variables despite lower overall network fit compared to structure learning algorithms, and introduced a publicly available model matching community top performance.

Hattrick is a free web-based probabilistic football manager game with over 200,000 users competing for titles at national and international levels. Launched in Sweden in 1997 as part of an MSc project, the game's slow-paced design has fostered a loyal community, with many users remaining active for decades. Hattrick's game-engine mechanics are partially hidden, and users have attempted to decode them with incremental success over the years. Rule-based, statistical and machine learning models have been developed to aid this effort and are widely used by the community. However, these models or tools have not been formally described or evaluated in the scientific literature. This study is the first to explore Hattrick using structure learning techniques and Bayesian networks, integrating both data and domain knowledge to develop models capable of explaining and simulating the game engine. We present a comprehensive analysis assessing the effectiveness of structure learning algorithms in relation to knowledge-based structures, and show that while structure learning may achieve a higher overall network fit, it does not result in more accurate predictions for selected variables of interest, when compared to knowledge-based networks that produce a lower overall network fit. Additionally, we introduce and publicly share a fully specified Bayesian network model that matches the performance of top models used by the Hattrick community. We further demonstrate how analysis extends beyond prediction by providing a visual representation of conditional dependencies, and using the best performing Bayesian network model for in-game decision-making. To support future research, we make all data, graphical structures, and models publicly available online.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes