Example following http://buildnewgames.com/introduction-to-crafty/