0

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.

  • Checkout electron and https://stackoverflow.com/questions/36515099/how-to-package-an-electron-app-into-a-single-executable – Konrad Feb 06 '23 at 11:10
  • try to encryption the HTML (such as ZIP with password). If you need to use it, just decrypt them. – Han Han Feb 06 '23 at 15:55

0 Answers0