Today I implemented data mining for Caravan. Certain events in the game are registered and sent to our server. The next step was to write a small website with uses the collected data to extract useful information and present them. The first site shows general information about the game, like number of players, average time spent playing and so on. Then a specific game session can be selected to see more information about it, like how long the session was, how many jewels the player has found and how often he died during this session. Finally if needed we can inspect a death, there we see how long the player lived, which path he walked and his water level over time.
For the graphs I used googlechartphplib, which is a nice little PHP libary for using Google Charts. The data mining site is written in pure PHP, if it gets more complex I will maybe switch to a more suited framework.