What’s the best platform for a high score on Canabalt?

February 23, 2011

(This article was first published on Revolutions, and kindly contributed to R-bloggers)

The Web-based Flash game Canabalt, whose scores have been analyzed by R before, is now available as an iOS App. Because the app is configured to work on three different platforms: the iPad, iPhone and iPod Touch; and because players are invited to tweet their best scores at the end of the game, like this:


the Twitter stream again becomes a great data source to analyze the distribution of Canabalt high scores, and now also to compare performance on the various platforms, and even to analyze individual death types. 

R user Neil Kodner has done just that, by writing Python code to scrape data from such tweets stored in a MongoDB instance, and then using the plyr package in R to aggregate the data to create some interesting visualizations of the scores, such as this one by platform:

Surprisingly the iPhone, despite its smaller screen, is the platform upon which the higher scores tend to be reported. (It's also the most-played platform, which surely skews the results somewhat — experts on extreme value theory are welcome to chime in!) The deeper analysis by type of death is also interesting: my own demise in my high-score game "somehow hitting the edge of a crane" is one of the rarer ones. Check out the full analysis and code in Neil's blog post linked below.

neilkodner.com: Visualizations of Canabalt scores scraped from Twitter

To leave a comment for the author, please follow the link and comment on their blog: Revolutions.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Tags: , ,

Comments are closed.


Mango solutions

RStudio homepage

Zero Inflated Models and Generalized Linear Mixed Models with R

Quantide: statistical consulting and training



CRC R books series

Contact us if you wish to help support R-bloggers, and place your banner here.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)