#twoweeksofcode: WordBits

This is part of the Two Weeks of Code.

WordBits: An HTML5 mobile game for Ubuntu Touch: put together bits of words to solve the clues!


Rather transparently inspired by 7 Little Words, of course. WordBits has all the definitions locally — they’re extracted from WordNet (Princeton University “About WordNet.” WordNet. Princeton University. 2010. http://wordnet.princeton.edu)

Done using the Ubuntu Touch HTML5 theme, so the game appears like a native Ubuntu Touch app, but it’s pure client-side HTML5. It also features proper Ubuntu integration so it will ask to integrate with Ubuntu when first opened, appear properly on your Launcher, and provides quicklist entries to start a new game and get a hint. (Documentation for the Ubuntu webapps stuff is being worked on in detail; the API documentation for Ubuntu 13.10 is at http://developer.ubuntu.com/api/devel/ubuntu-13.10/javascript/unity-webapps/unity-web-api-reference.html but http://developer.ubuntu.com/ should have full detail eventually.)

Sadly, pure HTML5 apps which integrate well into Ubuntu are not allowed to enter the Ubuntu App Showdown. :-)

You can play this one right now at http://kryogenix.org/code/browser/wordbits-html5/wordbits.html.

On GitHub at: https://github.com/stuartlangridge/wordbits-html5.

[wordbits]: http://kryogenix.org/days/wp-content/uploads/2013/09/wordbits.png