I wrote something similar to this for playing NES games, just start the server and navigate to it with a desktop and mobile and it should work out the box.
And me too :) Except that it's not a server that you have to run: it's a cloud application where you can host your games to play them later (using either your keyboard or your smartphone as controller)