Building Analytics for Haxball, a Game I've Played Since 2011

ars41 pts0 comments

Building Analytics for Haxball, a Game I’ve Played Since 2011 | Deniz Arda Aslan 🔱" /> Building Analytics for Haxball, a Game I've Played Since 2011<br>Monday. June 01, 2026 - 2 mins Live demo and game room: https://haxanalytics.denizaa.com/<br>GitHub: https://github.com/denizardaslan/haxball_analytics<br>I built a live and historical analytics dashboard for Haxball that turns match data into player stats, team stats, charts, summaries, and xG.<br>I have been playing Haxball since 2011. I don’t remember any other game that I have played for that long. Nowadays I don’t play actively, but some parts of my life have had lots of Haxball games. What I love most about this game is its simplicity. You only need the arrow keys + X key.<br>Haxball is not the same game as when I started. It was a Flash game before. After the HTML revolution (!), an HTML5 version was released and the game started to evolve. Many different maps appeared. Then API support arrived, so headless rooms appeared. Then bots were developed. Currently, you can do almost everything with that simple game.<br>A few years ago, I made some friends while playing on the Longbounce map. We had really good communication and became real-life friends. We started doing lots of events: football, BBQs, Haxball sessions at internet cafes…

I am the youngest one among these 30+ fellas. They all have different professions.<br>At some point, we wanted to have our own room, and as the tech guy, it became my responsibility. They were covering the costs and I was managing the room. I rented a VPS from DigitalOcean and deployed a headless Haxball room. After that, we needed some features, so I started developing them. During that time, I became more familiar with Haxball and its capabilities.<br>Actually, the game itself was providing some basic things like player coordinates, events like shots, goals, chat messages, etc. So if you want to develop something, it mostly relies on your imagination. Luckily, there are already lots of open-source maps and bots developed by the community.<br>After that experience, I wanted to develop an analytics system for Haxball. I have worked on various analytics systems like flight analytics, product analytics, customer analytics, etc., so why not game analytics?<br>Generating/extracting data from a system that you are actively part of is more fun than using random datasets. So this idea was always on my mind. Thanks to the Bruin competition (a super powerful data platform, give it a try if you haven’t yet), I started to develop this project during a public holiday.<br>This system provides both live and historical analytics. It turns match data into player/team stats, charts, and summaries. We even calculate xG, which was a really hard challenge to build because we needed to determine which kicks are shots and then what score those shots should have as xG.<br>So it took some time, but it was worth every moment. I enjoyed developing this project a lot. You can also join the room and see your results on the live dashboard and scoreboards.

(Currently, this project is running on my VPS, so I don’t know how long I can keep it up. But even if it goes down, you can run it locally to test it. Everything is so easy in this agentic AI era, so you can do it, believe me.)<br>" From F1 to My Car: Building a Driving Analytics Project<br>Related Posts<br>From F1 to My Car: Building a Driving Analytics Project

Deniz Arda Aslan<br>Engineer. Reads, thinks and writes.<br>Tweet Share Share -->

Email Newsletter<br>Get monthly updates about new posts, new ideas or news about this blog delivered to your inbox. I promise to not spam.<br>Subscribe<br>Thank you!<br>You have successfully joined our subscriber list.

Oops!<br>Something went wrong. Please try again later.

Please enable JavaScript to view the comments powered by Disqus. comments powered by Disqus

analytics game haxball building room started

Related Articles