If anyone else is wondering how the characters are generated:<p><pre><code> states = {
// policeman
"0": decodeEntities("&#x1F46E;"),
...
// octopus
"3": decodeEntities("&#x1F419;"),
// explosion
"4": decodeEntities("&#x1F4A5;")
};
</code></pre>
From <a href="http://www.patrick-wied.at/projects/tough-title-city/game.js" rel="nofollow">http://www.patrick-wied.at/projects/tough-title-city/game.js</a>