Brain Tuner Stats

 

Brain Tuner Stats

 

I decided to create a draft stats app today with the data being recorded from the Brain Tuner game. I intend to expand on this first version and incorporate a type of analytical overview of players relating to their geographical location.

 

When a player submits their score to the database I use a location service to get the country they are located in. The players name, score, penalties and location are then stored in the database along with a current datetime stamp. To get the stats app working I used PHP to output the data from the database in to XML format, and then imported it in to an array in Flash. From there I just manipulated the data to output some relevant stats, scores and a simple bar chart animated with TweenLite.

 

This first version of the stats app just pitches the UK players against the rest of the world to see who’s leading the title in a variety of disciplines. As the game hopefully gains more popularity and I have more data in the database I hope to split the countries up further and output more detailed stats. For those who have enjoyed the game then I recommend you purchase iPhone Brain Tuner.