Running it in a webview for the application need to be investigated first. If this does not work and a full port from JavaScript to eTS is needed it should be at least possible to keep the game logic and graphics from the original. The license is MIT so no problem for a fork (if needed).