How do you make a game that can work on Mac and Win and Linux at the same time? What is the easiest way?
In this specific case, I used the Unity engine. I write in C#, and with Mono/OpenGL, Unity can build executables to various platforms, on (mostly) the same code.
http://electron.atom.io https://cordova.apache.org
This won't work for all apps, but (for example) a lot of simple mobile apps use Cordova with faux-native UI frameworks, and there are a lot of graphics-lite games out there using NW.js or Electron on desktop.