Main

Under the Hood

Under the Hood

By Jamal on July 23, 2013

From a programming perspective there are a number of things that come together to make the Mobility Game. I'm gonna touch on those pieces to give you an idea of the technical scope of the game.

Titanium Logo

Since this game is going to be on both iOS and Android devices, the team decided to build the app using Titanium from Appcelerator. Titanium is a cross-platform solution for developing mobile and desktop apps. Code is written in JavaScript, and then compiled to native code for the target platform. So, basically we code once, and deploy for both iOS and Android. Of course going this route, rather than building the app natively in Objective-C and Java respectively, have had its drawbacks and annoyances over the course of this project. Namely, a few bugs in the Titanium API and some features of native APIs not accessible through Titanium’s APIs. Over all it’s good, but in retrospect in terms of our somewhat unique project, native may have been a better choice even if it meant double the work.

Python LogoTwisted Logo

Next up is the game server (or more like game service that sits on a server). Nearly every game has one in some way. Our game server is built on Python and the popular Twisted framework. All game sessions are managed through this, as well as all players actively in a game. It’s overall purpose is to maintain synchronicity across all games.

PHP and MySQL Logo

Finally, we have the backend, basically the application programming interface (API). Built on MySQL and PHP, all game data is stored in a MySQL database and accessed via the API style calls via PHP (on a web server). This ties the app itself and the game server together, as they both use it query and update data at some point.

 

So, that’s it. Check out later posts for a more in-depth look.

Tags: 

By Jamal

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Email addresses will be obfuscated in the page source to reduce the chances of being harvested by spammers.
  • Email addresses will be obfuscated in the page source to reduce the chances of being harvested by spammers.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
To prevent automated spam submissions leave this field empty.