Give MOAI a try - we solved this problem recently with the addition of the pito tool (pito means &quot;navel&quot;, &quot;whistle&quot; and &quot;beer&quot;, in Rapa&#x27;nui) which generates complete host projects for every platform MOAI supports.  The end result, you really can run the same code everywhere.<p>(<a href="http:&#x2F;&#x2F;github.com&#x2F;moai&#x2F;moai-dev" rel="nofollow">http:&#x2F;&#x2F;github.com&#x2F;moai&#x2F;moai-dev</a>)