I'm creating a game in html canvas and I'm seeing if it is possible to compile a set of html/js/c++ to make the source code not visibile. I want to have all features that a modern browser has, such as canvas, svg, custom mouse cursour etc...
I tried electron and nwjs but both had the source code obviously and the game could be edited, hacked, changed easily by going through javascript and html files.