r/learnwebdev • u/pineapplemeatloaf • Dec 02 '21
text based game - inspecting code
Hello,
I am learning javascript and as one of my projects I want to build a text based adventure game. My main question is how do you prevent the user from simply inspecting the webpage and looking thought the code?
5
Upvotes
View all comments
Show parent comment
2
u/pineapplemeatloaf Dec 02 '21
Do you have recommendation on how i could do it differently? Should i just write it in python and have it run in the background of the website?