+ 2
How do you hide code from users? Like certain details that are important
i'm making a game, you pick any number, it's associate's that with a color. if you put in the wrong number, then try again if you guess the right number. then a color shows up. I don't want them knowing what colors is associated with any numbers. I'm going to tag my unfinished program https://code.sololearn.com/c57fuf787aaL/?ref=app https://code.sololearn.com/c57fuf787aaL/?ref=app https://code.sololearn.com/c57fuf787aaL/?ref=app
4 Respuestas
+ 7
Generally when you distribute a program for a compiled language like java you package it into some kind of executable file. This will make it difficult for all but the most computer savvy to see any of your actual code. the only Language you really can't hide code in is JavaScript as far as I know.
+ 4
you can find a full list of 140 reconized colors (with all the hex values)@
https://www.w3schools.com/cssref/css_colors.asp
+ 4
@ Louis
You cannot hide client side JavaScript but can obfuscate it
- 1
a good idea night be to use hex numbers in Css. you can change 1 digit & the color may look almost identical but only a trained expert who uses hex numbers would know what you have done.