A Preliminary Field Study of Game Programming on Mobile Devices

Eric Anderson, Sihan Li, Tao XiearXiv 2013

Abstract

This study examines the characteristics and popularity of mobile game scripts within the Microsoft TouchDevelop ecosystem. By analyzing over 31,000 scripts, researchers identified that games, while representing a small fraction of total content, are significantly more complex and popular than non-game applications. The findings suggest that mobile development environments should prioritize support for game-centric features and larger script management to better serve hobbyist developers.

Introduction

Traditionally, mobile application development has required "heavyweight" professional setups, including languages like C# or Java and complex desktop-based IDEs. This creates a significant barrier for casual users and hobbyists. Microsoft Research developed TouchDevelop to lower this barrier, enabling users to write and share scripts directly on their mobile devices. This study, conducted in 2013, explores the "gaming" niche within this ecosystem to understand how mobile game scripts differ from productivity tools and what factors contribute to their success.

Methodology

The researchers analyzed a dataset of 31,699 scripts published to the TouchDevelop cloud prior to June 2013. The methodology included:

  • Categorization: Manual identification of 539 game scripts.
  • Metric Comparison: Evaluating games versus non-games based on Lines of Code (LOC), method calls, actions (functions), events (e.g., screen taps), and platform feature usage (sensors/audio).
  • Popularity Analysis: Success was measured by the number of runs, installations, and positive reviews.
  • Success Factor Analysis: Comparing "popular" games (top 25th percentile) against "unpopular" ones to identify technical correlations with engagement.

Key Results: The Complexity Gap

The study revealed a stark contrast in complexity between games and non-games. Games are the "heavyweights" of the platform, averaging nearly twice the length of non-game scripts.

Comparison of script lengths across categories.

Specifically, game scripts averaged 369 lines of code (LOC), compared to 210 LOC for non-games. The median difference was even more pronounced: 272 LOC for games versus just 50 LOC for non-games. Structurally, games called an average of 347 methods—more than double the 165 methods called by non-games—and featured nearly twice as many actions and events.

Insights and Implications

The popularity of games far outstrips their representation in the library. Despite making up only ~1.7% of total scripts, games received roughly 10x more runs and installs than non-game scripts.

Comparison of script types and their implications.

Success in the mobile "bazaar" is driven largely by the integration of hardware features. Popular games were significantly more likely to utilize the accelerometer (37.1% vs 24.2%) and audio/music (20% vs 14.5%). Interestingly, while popular games were longer, they did not necessarily have more "events" or "actions" than unpopular ones, suggesting that the quality and type of platform features used are more critical than sheer structural volume.

Conclusion and Future Directions

The findings highlight a need for mobile IDEs to provide better support for managing large scripts, as game development naturally pushes the limits of simple environments. The authors recommend that end-user programming (EUP) platforms offer targeted tutorials for sensor and audio integration to drive engagement. Furthermore, the lack of explicit user reviews suggests that "silent" metrics like run counts are more reliable indicators of success in these communities.

Summary updated

BibTeX
@misc{anderson2013preliminary,
  author = {Eric Anderson and Sihan Li and Tao Xie},
  title = {{A Preliminary Field Study of Game Programming on Mobile Devices}},
  year = {2013},
  eprint = {1310.3308},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1310.3308},
}
Figure